HangulHanjaConversionDictionaries object (Word)
A collection of Dictionary objects that includes the active custom Hangul-Hanja conversion dictionaries.
Remarks
Use the HangulHanjaDictionaries property to return the collection of currently active custom conversion dictionaries. The following example displays the names of all the active custom conversion dictionaries.
For Each d In HangulHanjaDictionaries
Msgbox d.Name
Next d
Use the Add method to add a new custom conversion dictionary to the collection of active custom conversion dictionaries. If there isn't a file with the name specified by FileName, Microsoft Word creates it. The following example adds "Hanja1.hhd" to the collection of custom conversion dictionaries.
CustomDictionaries.Add FileName:="Hanja1.hhd"
Use the ClearAll method to unload all custom conversion dictionaries. Note, however, that this method doesn't delete the dictionary files. After you use this method, the number of custom conversion dictionaries in the collection is 0 (zero). The following example clears the custom conversion dictionaries and creates a new custom conversion dictionary file. The new dictionary is set as the active custom dictionary to which Word will automatically add any new words it encounters.
With HangulHanjaDictionaries
.ClearAll
.Add FileName:= "Hanja1.hhd"
.ActiveCustomDictionary = HangulHanjaDictionaries(1)
End With
You set the custom dictionary to which new words are added by using the ActiveCustomDictionary property. If you try to set this property to a dictionary that isn't a custom conversion dictionary, an error occurs.
The Maximum property returns the maximum number of simultaneous custom conversion dictionaries that the application can support. For Word, this maximum is 10.
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기