FromExtension
Leave feedback
On this page
Retrieves an instance of the specified type WordProcessingFormats that has the specified file extension.
public static WordProcessingFormats FromExtension(string extension)
| Parameter | Type | Description |
|---|---|---|
| extension | String | The file extension of the document format. |
An instance of the specified type WordProcessingFormats with the specified file extension.
| exception | condition |
|---|---|
| InvalidOperationException | Thrown when no matching document format is found. |
- class WordProcessingFormats
- namespace GroupDocs.Editor.Formats
- assembly GroupDocs.Editor
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.