detect_file_type method
Leave feedback
On this page
Detects a file type of the container item.
An instance of FileType class; FileType.Unknown if a file type isn’t detected.
def detect_file_type(self, detection_mode):
...
| Parameter | Type | Description |
|---|---|---|
| detection_mode | groupdocs.parser.options.FileTypeDetectionMode | Defines a mode of the file type detection. |
The following example shows how to detect file type of container item:
- module
groupdocs.parser.data - class
ContainerItem - class
FileType
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.