GetInstance

RedactorConfiguration.GetInstance method

기본 제공 형식의 기본 구성으로 싱글톤 인스턴스를 제공합니다.

public static RedactorConfiguration GetInstance()

반환 값

구성 인스턴스

다음 예제는 사용자 정의 형식 핸들러를 추가하는 방법을 보여줍니다.

var adobePhotoshopSettings = new DocumentFormatConfiguration();
adobePhotoshopSettings.ExtensionFilter = ".psd";
adobePhotoshopSettings.DocumentType = typeof(MyAdobePhotoshopFormatInstance);
var configuration = RedactorConfiguration.GetInstance();
configuration.AvailableFormats.Add(adobePhotoshopSettings);

또한보십시오