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 (including the period “.”). |
When file type is supported returns it, otherwise returns default Unknown file type.
| exception | condition |
|---|---|
| ArgumentException | Thrown when extension is null or empty string. |
- class FileType
- namespace GroupDocs.Signature.Domain
- assembly GroupDocs.Signature
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.