Class AttachmentManager
java.lang.Object
com.ironsoftware.ironpdf.attachment.AttachmentManager
Class used to edit attachment to a 
PdfDocument.
 - 
Constructor SummaryConstructorsConstructorDescriptionAttachmentManager(InternalPdfDocument internalPdfDocument) Please get AttachmentManager byPdfDocument.getAttachment()instead.
- 
Method SummaryModifier and TypeMethodDescriptionfinal voidaddAttachment(String name, byte[] attachmentData) Add a new attachment.final byte[]getAttachmentData(String name) Gets attachment data from attachment nameA Collection of file attachment names (keys) contained within this PdfDocument.final voidremoveAttachment(String name) Remove an attachment by attachment name
- 
Constructor Details- 
AttachmentManagerPlease get AttachmentManager byPdfDocument.getAttachment()instead.- Parameters:
- internalPdfDocument- the internal pdf document
 
 
- 
- 
Method Details- 
getAttachmentsA Collection of file attachment names (keys) contained within this PdfDocument.
- 
addAttachmentAdd a new attachment.- Parameters:
- name- attachment name
- attachmentData- attachment data
 
- 
removeAttachmentRemove an attachment by attachment name- Parameters:
- name- attachment name
 
- 
getAttachmentDataGets attachment data from attachment name- Parameters:
- name- Attachment name
 
 
-