GetInstance
Leave feedback
On this page
Provides a singleton instance with default configuration of built-in formats.
public static RedactorConfiguration GetInstance()
Configuration instance
The following example demonstrates how to add a custom format handler.
var adobePhotoshopSettings = new DocumentFormatConfiguration();
adobePhotoshopSettings.ExtensionFilter = ".psd";
adobePhotoshopSettings.DocumentType = typeof(MyAdobePhotoshopFormatInstance);
var configuration = RedactorConfiguration.GetInstance();
configuration.AvailableFormats.Add(adobePhotoshopSettings);
- class RedactorConfiguration
- namespace GroupDocs.Redaction.Configuration
- assembly GroupDocs.Redaction
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.