FromExtension
FixedLayoutFormats.FromExtension method
Returns instance of FixedLayoutFormats
structure, associated to specified filename extension, or throws an exception, if extension cannot be properly parsed
public static FixedLayoutFormats FromExtension(string extension)
Parameter | Type | Description |
---|---|---|
extension | String | Filename extension of any supportable FixedLayoutFormats format, with or without leading dot character, case-independent. Cannot be NULL or empty, should be valid. |
Return Value
Instance of FixedLayoutFormats
structure on success or thrown exception on failure
See Also
- struct FixedLayoutFormats
- namespace GroupDocs.Editor.Formats
- assembly GroupDocs.Editor