find_format method
find_format
Finds format configurations for a given file extension.
Returns
If found, instance of DocumentFormatConfiguration
, null otherwise
def find_format(self, file_extension):
...
Parameter | Type | Description |
---|---|---|
file_extension | str | File extension, format is “.ext” |
Example
The following example demonstrates how to get built-in or custom user format handlers.
See Also
- module
groupdocs.redaction.configuration
- class
DocumentFormatConfiguration
- class
RedactorConfiguration