FromExtension
FileType.FromExtension method
Maps file extension to file type.
public static FileType FromExtension(string extension)
Parameter | Type | Description |
---|---|---|
extension | String | File extension with or without the period “.”. |
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