PdfAttachmentOptions
Leave feedback
On this page
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.
| 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. |
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. |
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. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.