__init__ constructor

On this page

init

Initializes a new PdfViewInfo instance.

def __init__(self):
    ...

init

Initializes a new PdfViewInfo instance.

def __init__(self, file_type, pages, printing_allowed):
    ...
Parameter Type Description
file_type FileType The type of the file.
pages List[Page] The list of pages to view.
printing_allowed bool The printing permission indicator.
Raises Description
ValueError When pages is None.

See Also

On this page