PhoneticGuide Method

         Example         Applies To

Language-specific information

Adds phonetic guides to the specified range.

Syntax

expression.PhoneticGuide(Text, Alignment, Raise, FontSize, FontName)

expression   Required. An expression that returns a Range object.

Text   Required String. The phonetic text to add.

Alignment   Optional Long. The alignment of the added phonetic text. Can be one of the following WdPhoneticGuideAlignmentType constants.

Constant Description
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.
wdPhoneticGuideAlignmentRight Word right-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.
wdPhoneticGuideAlignmentZeroOneZero Word adjusts the inside and outside spacing of the phonetic text in a 0:1:0 ratio.

Raise   Optional 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, Word automatically sets the phonetic text at an optimum distance above the specified range.

FontSize   Optional Long. The font size to use for the phonetic text. If no value is specified, Word uses a font size 50% smaller than the text in the specified range.

FontName   Optional 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.