DocumentFormatConfiguration class
DocumentFormatConfiguration class
Represents a type reference for DocumentFormatInstance-derived class and supported file extensions list for faster format detection.
The DocumentFormatConfiguration type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of DocumentFormatConfiguration class. |
Properties
| Property | Description |
|---|---|
| extension_filter | Gets or sets a comma (",") delimited list of file extensions (for example “.pdf”), case insensitive. |
| document_type | Gets or sets the type of a class, inheriting from DocumentFormatInstance. |
Methods
| Method | Description |
|---|---|
| supports_extension | Checks if a given file extension can be handled as DocumentType. |
Remarks
Learn more | | | |
Example
The following example demonstrates how to set properties for a custom format configuration.
See Also
- module
groupdocs.redaction.configuration - class
DocumentFormatInstance