public class PdfAttachmentCollection extends RemoveOnlyListBase<PdfAttachment>
This collection contains the items of
type.PdfAttachment
Modifier and Type | Method and Description |
---|---|
void |
add(byte[] fileContent,
String name,
String description)
Adds an attachment to the
. |
clear, isReadOnly, remove, removeAt
public final void add(byte[] fileContent, String name, String description)
PdfContent
.fileContent
- The content of the file to be attached.name
- The name of the file.description
- The description of the file.