Range.PhoneticGuide (Word)
Adds phonetic guides to the specified range.
For more information on using Word with East Asian languages, see Word features for East Asian languages.
PhoneticGuide (Text, Alignment, Raise, FontSize, FontName)
Selection.Range.PhoneticGuide Text:="tray sheek", _
Alignment:=wdPhoneticGuideAlignmentCenter, _
Raise:=11, FontSize:=7
Arguments
The following argument is required
Text (String) - The phonetic text to add.
Optional arguments
The following arguments are optional
Alignment (WdPhoneticGuideAlignmentType) - The alignment of the added phonetic text.
Possible values are
wdPhoneticGuideAlignmentCenter | Microsoft Word centers phonetic text over the specified range. This is the default value. |
wdPhoneticGuideAlignmentLeft | Word left-aligns phonetic text with the specified range. |
wdPhoneticGuideAlignmentOneTwoOne | Word adjusts the inside and outside spacing of the phonetic text in a 1:2:1 ratio. |
wdPhoneticGuideAlignmentRight | Word right-aligns phonetic text with the specified range. |
wdPhoneticGuideAlignmentRightVertical | Word aligns the phonetic text on the right side of vertical text. |
wdPhoneticGuideAlignmentZeroOneZero | Word adjusts the inside and outside spacing of the phonetic text in a 0:1:0 ratio. |
Raise (Long) - The distance (in points) from the top of the text in the specified range to the top of the phonetic text. If no value is specified, Microsoft Word automatically sets the phonetic text at an optimum distance above the specified range.
FontSize (Long) - The font size to use for the phonetic text. If no value is specified, Word uses a font size 50 percent smaller than the text in the specified range.
FontName (String) - The name of the font to use for the phonetic text. If no value is specified, Word uses the same font as the text in the specified range.