FromFilePath
FileType.FromFilePath method
Extracts file extension and maps it to file type.
public static FileType FromFilePath(string filePath)
Parameter | Type | Description |
---|---|---|
filePath | String | The file name or file path. |
Return Value
When file type is supported returns it, otherwise returns default Unknown
file type.
See Also
- class FileType
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer