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: 19.9
Syntax
public class DocumentFormatConfiguration

The DocumentFormatConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodDocumentFormatConfiguration
Initializes a new instance of the 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
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.)
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