Document class

Document class

Represents various document properties.

The Document type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of Document class.
init Initializes a new Document instance.

Methods

Method Description
add_image_to_document Change image quality and add image to document.
add_image_to_document_file
add_image_to_document_string
generate_preview Generates document pages preview (screenshots of every page).
generate_preview_preview_options
get_document_info Retrieves information about the document, including its type, size, page count, and detailed page data.

Properties

Property Description
name The document name.
password The document password.
stream The document stream.

Guides

Task guides that use Document:

See Also