from_file_path method
from_file_path
Extracts file extension and maps it to file type.
Returns
When file type is supported returns it, otherwise returns default FileType.Unknown file type.
def from_file_path(self, file_path):
...
| Parameter | Type | Description |
|---|---|---|
| file_path | System.String | The file name or file path. |
See Also
- module
groupdocs.viewer - class
FileType