__init__ constructor

On this page

init

Initializes a new instance of ViewInfo.

def __init__(self):
    ...

init

Initializes a new ViewInfo instance.

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 If pages is None.

See Also

On this page