FromExtension
SpreadsheetFormats.FromExtension method
Retrieves an instance of the specified type SpreadsheetFormats
that has the specified file extension.
public static SpreadsheetFormats FromExtension(string extension)
Parameter | Type | Description |
---|---|---|
extension | String | The file extension of the document format. |
Return Value
An instance of the specified type SpreadsheetFormats
with the specified file extension.
Exceptions
exception | condition |
---|---|
InvalidOperationException | Thrown when no matching document format is found. |
See Also
- class SpreadsheetFormats
- namespace GroupDocs.Editor.Formats
- assembly GroupDocs.Editor