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

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

The DocumentFormatConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodDocumentFormatConfiguration
Initializes a new instance of DocumentFormatConfiguration class.
Properties
  NameDescription
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.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSupportsExtension
Checks if a given file extension can be handled as DocumentType.
Public methodToString (Inherited from Object.)
Remarks
Learn more
Examples
The following example demonstrates how to set properties for a custom format configuration.
C#
var adobePhotoshopSettings = new DocumentFormatConfiguration();
adobePhotoshopSettings.ExtensionFilter = ".psd";
adobePhotoshopSettings.DocumentType = typeof(MyAdobePhotoshopFormatInstance);
See Also