FromMime
Leave feedback
On this page
Retrieves an instance of the specified type T that has the specified MIME type.
public static T FromMime<T>(string mime)
where T : DocumentFormatBase
| Parameter | Description |
|---|---|
| T | The type of document format. |
| mime | The MIME type of the document format. |
An instance of the specified type T with the specified MIME type.
| exception | condition |
|---|---|
| InvalidOperationException | Thrown when no matching document format is found. |
- class DocumentFormatBase
- namespace GroupDocs.Editor.Formats.Abstraction
- 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.