FromExtension
Leave feedback
On this page
Maps file extension to file type.
public static FileType FromExtension(string extension)
| Parameter | Type | Description |
|---|---|---|
| extension | String | File extension with or without the period “.”. |
When file type is supported returns it, otherwise returns default Unknown file type.
- class FileType
- namespace GroupDocs.Viewer
- assembly GroupDocs.Viewer
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.