__init__ constructor

On this page

init

Initializes a new instance of the PagePreviewOptions class.

def __init__(self):
    ...

init

Initializes a new instance of the PagePreviewOptions class with the preview format.

def __init__(self, format):
    ...
Parameter Type Description
format PagePreviewFormat The format of the document page image.

init

Initializes a new PagePreviewOptions instance with the preview DPI.

def __init__(self, dpi):
    ...
Parameter Type Description
dpi int The DPI of the document page image.

init

Initializes a new PagePreviewOptions instance with the preview format and DPI.

def __init__(self, format, dpi):
    ...
Parameter Type Description
format PagePreviewFormat The format of the document page image.
dpi int The DPI of the document page image.

See Also

On this page