detect_file_format method

detect_file_format(stream)

Detects and returns the information about a format of a visio stored in a stream.

Returns

A FileFormatInfo object that contains the detected information.

def detect_file_format(self, stream):
    ...
ParameterTypeDescription
streamio.RawIOBase

detect_file_format(file_path)

Detects and returns the information about a format of a visio stored in a file.

Returns

A FileFormatInfo object that contains the detected information.

def detect_file_format(self, file_path):
    ...
ParameterTypeDescription
file_pathstrThe file path.

See Also