|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.PdfCollection
com.spire.pdf.attachments.PdfAttachmentCollection
public class PdfAttachmentCollection
Represents a collection of the attachment objects.
| Constructor Summary | |
|---|---|
PdfAttachmentCollection()
Initializes a new instance of the class. |
|
PdfAttachmentCollection(PdfDictionary attachmentDictionary)
|
|
| Method Summary | |
|---|---|
int |
add(PdfAttachment attachment)
|
int |
add(PdfAttachment attachment,
PdfDocument document,
PdfAttachmentRelationship relationship)
|
int |
add(java.lang.String name,
PdfAttachment attachment)
Adds the specified attachment. |
void |
clear()
Clears the collection. |
boolean |
contains(PdfAttachment attachment)
Determines whether |
PdfAttachment |
get(int index)
Gets attachment by its index in the collection. |
int |
indexOf(PdfAttachment attachment)
Indexes the of attachment. |
void |
insert(int index,
PdfAttachment attachment)
Inserts the specified index. |
void |
remove(PdfAttachment attachment)
Removes the specified attachment. |
void |
removeAt(int index)
Removes attachment at the specified index. |
| Methods inherited from class com.spire.pdf.PdfCollection |
|---|
getCount, getList |
| Constructor Detail |
|---|
public PdfAttachmentCollection()
public PdfAttachmentCollection(PdfDictionary attachmentDictionary)
| Method Detail |
|---|
public PdfAttachment get(int index)
index - Index of the attachment.
public int add(PdfAttachment attachment)
public int add(PdfAttachment attachment,
PdfDocument document,
PdfAttachmentRelationship relationship)
public int add(java.lang.String name,
PdfAttachment attachment)
attachment - The attachment.
public void insert(int index,
PdfAttachment attachment)
index - The index.attachment - The attachment.public void remove(PdfAttachment attachment)
attachment - The attachment.public void removeAt(int index)
index - The index.public int indexOf(PdfAttachment attachment)
attachment - The attachment.
public boolean contains(PdfAttachment attachment)
attachment - The attachment.
public void clear()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||