1. GroupDocs.Merger
  2. /
  3. GroupDocs.Merger for Java
  4. /
  5. com.groupdocs.merger.domain.options
  6. /
  7. PdfAttachmentOptions

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

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.