FileInfo constructor

init

Initializes new instance of FileInfo.file_type class.

def __init__(self):
    ...

init

Initializes new instance of FileInfo.file_type class.

def __init__(self, file_type):
    ...
Parameter Type Description
file_type groupdocs.viewer.FileType The type of the file.

Exceptions

Exception Description
ArgumentNullException Thrown when file_type is null.

See Also