Use this file to discover all available pages before exploring further.
이 객체를 통해 사용자 사전에 액세스할 수 있습니다. IUserDictionaryDescription 인터페이스는 IDictionaryDescription 인터페이스에서 파생되며, 해당 인터페이스의 모든 속성을 상속합니다.사용자 사전은 사용자가 Dictionary 객체를 사용해 만들 수 있습니다. 생성된 사전의 경로는 UserDictionaryDescription 객체의 FileName 속성에 지정됩니다. 그런 다음 이렇게 구성된 객체를 언어의 사전 설명 컬렉션에 추가합니다.
FREngine.IFRDocument frdoc;FREngine.IBaseLanguage baseLanguage;string dictionaryFileName = "D:\\sample.amd";// 사용자 사전이 이미 생성되어 있다고 가정합니다// 사용자 사전을 기본 언어에 할당합니다// 사전 설명 컬렉션을 가져와 모든 항목을 삭제합니다IDictionaryDescriptions dictionaryDescriptions = baseLanguage.DictionaryDescriptions;dictionaryDescriptions.DeleteAll();// 사용자 사전 설명을 생성하여 컬렉션에 추가합니다IDictionaryDescription dictionaryDescription = dictionaryDescriptions.AddNew( DictionaryTypeEnum.DT_UserDictionary );IUserDictionaryDescription userDictionaryDescription = dictionaryDescription.GetAsUserDictionaryDescription();userDictionaryDescription.FileName = dictionaryFileName;