pdftools_sdk.document_assembly.document_copy_options

Classes

DocumentCopyOptions()

The document-level copy options applied when copying a document.

class pdftools_sdk.document_assembly.document_copy_options.DocumentCopyOptions[source]

Bases: _NativeObject

The document-level copy options applied when copying a document.

__init__()[source]
property copy_metadata: bool

Copy document information dictionary and XMP metadata.

Default is False.

Returns:

bool

property copy_output_intent: bool

Copy the PDF/A output intent.

Default is False.

Returns:

bool

property copy_viewer_settings: bool

Page Layout, Page Mode, Open Actions, Piece Info, and Collection properties.

Default is False.

Returns:

bool

Type:

Copy viewer properties, which include

property copy_embedded_files: bool

Only embedded files associated with pages within the given page range are copied. (PDF/A-3 only, pdftools_sdk.document_assembly.page_copy_options.PageCopyOptions.copy_associated_files must be set.)

Default is False.

Returns:

bool

Type:

If set to True

Type:

All embedded files are copied. If set to False