RedactorConfiguration Class |
Namespace: GroupDocs.Redaction.Configuration
The RedactorConfiguration type exposes the following members.
Name | Description | |
---|---|---|
![]() | AvailableFormats |
Gets a list of recognized formats, see DocumentFormatConfiguration.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() ![]() | FindFormat |
Finds format configurations for a given file extension.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() ![]() ![]() | GetInstance |
Provides a singleton instance with default configuration of built-in formats.
|
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
var adobePhotoshopSettings = new DocumentFormatConfiguration(); adobePhotoshopSettings.ExtensionFilter = ".psd"; adobePhotoshopSettings.DocumentType = typeof(MyAdobePhotoshopFormatInstance); var configuration = RedactorConfiguration.GetInstance(); configuration.AvailableFormats.Add(adobePhotoshopSettings);
var configuration = RedactorConfiguration.GetInstance(); var formatSettings = configuration.FindFormat(".psd");