pdftools_sdk.pdf2_image.content_options

Classes

ContentOptions(handle)

The parameters how to render PDF content elements

class pdftools_sdk.pdf2_image.content_options.ContentOptions(handle)[source]

Bases: _NativeObject

The parameters how to render PDF content elements

property annotations: AnnotationOptions

The render strategy for annotations

Defines whether to render annotation popups. For details, see pdftools_sdk.pdf2_image.annotation_options.AnnotationOptions .

Default is pdftools_sdk.pdf2_image.annotation_options.AnnotationOptions.SHOWANNOTATIONS

Returns:

pdftools_sdk.pdf2_image.annotation_options.AnnotationOptions

property render_text: bool

Defines whether to render text. When set to False, text rendering is skipped entirely. Text embedded in images and text created by drawing lines or paths are still rendered. Skipping text rendering can speed up the rendering process, especially for documents with many text elements.

Default is True.

Returns:

bool