FileType class
Leave feedback
On this page
Information about file, such as type, extension, etc.
The FileType type exposes the following members:
| Method | Description |
|---|---|
| equals | File type equivalence check. |
| equals | Equivalence check with object. |
| equals_file_type | |
| equals_object | |
| from_file_name_or_extension | Return FileType based on file name or extension. |
| get_hash_code | Get hash code. |
| get_supported_file_types | Get supported file types enumeration. |
| to_string | Returns a string that represents the file type. |
| Property | Description |
|---|---|
| extension | The file extension. |
| file_format | The file format. |
from groupdocs.annotation import FileType
# Retrieve a list of all supported file types
supported = FileType.get_supported_file_types()
print(supported)
- module
groupdocs.annotation
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.