DocumentFormatConfiguration Class
Represents a type reference for DocumentFormatInstance-derived class and supported file extensions list for faster format detection.
Inheritance Hierarchy

Namespace: GroupDocs.Redaction.Configuration
Assembly: GroupDocs.Redaction (in GroupDocs.Redaction.dll) Version: 19.9
public class DocumentFormatConfiguration

The DocumentFormatConfiguration type exposes the following members.

Public methodDocumentFormatConfiguration
Initializes a new instance of the DocumentFormatConfiguration class
Public propertyDocumentType
Gets or sets the type of a class, inheriting from DocumentFormatInstance.
Public propertyExtensionFilter
Gets or sets a comma (",") delimited list of file extensions (e.g. ".pdf"), case insensitive.
Public propertyInitializationData
Gets or sets data, required for DocumentFormatInstance initialization.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupportsExtension
Checks if a given file extension can be handled as DocumentType.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
The following example demonstrates how to set properties for a custom format configuration.
var adobePhotoshopSettings = new DocumentFormatConfiguration();
adobePhotoshopSettings.ExtensionFilter = ".psd";
adobePhotoshopSettings.DocumentType = typeof(MyAdobePhotoshopFormatInstance);
See Also