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):
...
Parameter | Type | Description |
---|---|---|
stream | io.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):
...
Parameter | Type | Description |
---|---|---|
file_path | str | The file path. |
See Also
- module aspose.diagram
- class FileFormatUtil