detect_file_format method
detect_file_format(, stream)
Detects and returns the information about a format of an excel stored in a stream.
Returns
A FileFormatInfo
object that contains the detected information.
@staticmethod
def detect_file_format(stream):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase |
detect_file_format(, file_path)
Detects and returns the information about a format of an excel stored in a file.
Returns
A FileFormatInfo
object that contains the detected information.
@staticmethod
def detect_file_format(file_path):
...
Parameter | Type | Description |
---|---|---|
file_path | str | The file path. |
detect_file_format(, stream, password)
Detects and returns the information about a format of an excel stored in a stream.
Returns
A FileFormatInfo
object that contains the detected information.
@staticmethod
def detect_file_format(stream, password):
...
Parameter | Type | Description |
---|---|---|
stream | io.RawIOBase | |
password | str | The password for encrypted ooxml files. |
detect_file_format(, file_path, password)
Detects and returns the information about a format of an excel stored in a file.
Returns
A FileFormatInfo
object that contains the detected information.
@staticmethod
def detect_file_format(file_path, password):
...
Parameter | Type | Description |
---|---|---|
file_path | str | The file path. |
password | str | The password for encrypted ooxml files. |
See Also
- module
aspose.cells
- class
FileFormatInfo
- class
FileFormatUtil