SpreadsheetFormatsFromExtension Method |
Returns instance of
SpreadsheetFormats structure, associated to specified filename extension, or throws an exception, if extension cannot be properly parsed
Namespace: GroupDocs.Editor.FormatsAssembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 21.10.0.0
Syntaxpublic static SpreadsheetFormats FromExtension(
string extension
)
Public Shared Function FromExtension (
extension As String
) As SpreadsheetFormats
public:
static SpreadsheetFormats FromExtension(
String^ extension
)
static member FromExtension :
extension : string -> SpreadsheetFormats
Parameters
- extension
- Type: SystemString
Filename extension of any supportable Spreadsheet format, with or without leading dot character, case-independent.
Cannot be NULL or empty, should be valid.
Return Value
Type:
SpreadsheetFormatsInstance of
SpreadsheetFormats structure on success or thrown exception on failure
See Also