__init__ constructor

On this page

init

Initializes a new instance of ViewInfo.

def __init__(self):
    ...

init

Initializes a new instance of ViewInfo class.

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

See Also

On this page