FromExtension
FixedLayoutFormats.FromExtension method
Retrieves a FixedLayoutFormats
instance matching the specified file extension.
public static FixedLayoutFormats FromExtension(string extension)
Parameter | Type | Description |
---|---|---|
extension | String | File extension to match (e.g., “pdf”). |
Return Value
The matching FixedLayoutFormats
instance.
Exceptions
exception | condition |
---|---|
InvalidOperationException | Thrown if no matching format is found. |
See Also
- class FixedLayoutFormats
- namespace GroupDocs.Editor.Formats
- assembly GroupDocs.Editor