EBookFormatsFromExtension Method
Returns instance of EBookFormats structure, associated to specified filename extension, or throws an exception, if extension cannot be properly parsed

Namespace: GroupDocs.Editor.Formats
Assembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 21.10.0.0
Syntax
public static EBookFormats FromExtension(
	string extension
)

Parameters

extension
Type: SystemString
Filename extension of any supportable EBook format, with or without leading dot character, case-independent. Cannot be NULL or empty, should be valid.

Return Value

Type: EBookFormats
Instance of EBookFormats structure on success or thrown exception on failure
See Also