PdfAttachmentOptions
Inheritance: java.lang.Object, com.groupdocs.merger.domain.options.ImportDocumentOptions
All Implemented Interfaces: com.groupdocs.merger.domain.options.interfaces.IPdfAttachmentOptions
public class PdfAttachmentOptions extends ImportDocumentOptions implements IPdfAttachmentOptions
Provides options to attach the embedded object to Pdf.
Learn more
- More about adding attachment to PDF documents: How to add attachment to PDF document.
Constructors
Constructor | Description |
---|---|
PdfAttachmentOptions(byte[] objectData, String extension) | Initializes a new instance of the PdfAttachmentOptions class. |
PdfAttachmentOptions(String filePath) | Initializes a new instance of the PdfAttachmentOptions class. |
PdfAttachmentOptions(byte[] objectData, String extension)
public PdfAttachmentOptions(byte[] objectData, String extension)
Initializes a new instance of the PdfAttachmentOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
objectData | byte[] | The data of the embedded object. |
extension | java.lang.String | The extension of the embedded object. |
PdfAttachmentOptions(String filePath)
public PdfAttachmentOptions(String filePath)
Initializes a new instance of the PdfAttachmentOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | The file path of the embedded object. |