Share via


Application.HangulHanjaDictionaries Property

Word Developer Reference

Returns a HangulHanjaConversionDictionaries collection that represents all the active custom conversion dictionaries. .

Syntax

expression.HangulHanjaDictionaries

expression   A variable that represents an Application object.

Remarks

Active custom conversion dictionaries are marked with a check in the Custom Dictionaries dialog box (on the Tools menu, click Options, then click the Spelling & Grammar tab, and then click the Custom Dictionaries button).

For information about returning a single member of a collection, see Returning an Object from a Collection.

Example

This example adds a new, blank custom dictionary to the collection. The path and file name of the new custom dictionary are then displayed in a message box.

Visual Basic for Applications
  Set myHome = _
    HangulHanjaDictionaries.Add(Filename:="Home.hhd")
Msgbox myHome.Path & Application.PathSeparator _
    & myHome.Name

This example deactivates all custom dictionaries but does not delete the custom dictionary files.

Visual Basic for Applications
  
    HangulHanjaDictionaries.ClearAll

This example displays the name of each custom dictionary in the collection.

Visual Basic for Applications
  For Each di In HangulHanjaDictionaries
    MsgBox di.Name
Next di

See Also