Upravit

Sdílet prostřednictvím


Range.PhoneticGuide Method

Definition

Adds phonetic guides to the specified range.

public void PhoneticGuide (string Text, Microsoft.Office.Interop.Word.WdPhoneticGuideAlignmentType Alignment = (Microsoft.Office.Interop.Word.WdPhoneticGuideAlignmentType) -1, int Raise = 0, int FontSize = 0, string FontName = "");
abstract member PhoneticGuide : string * Microsoft.Office.Interop.Word.WdPhoneticGuideAlignmentType * int * int * string -> unit
Public Sub PhoneticGuide (Text As String, Optional Alignment As WdPhoneticGuideAlignmentType = (Microsoft.Office.Interop.Word.WdPhoneticGuideAlignmentType) -1, Optional Raise As Integer = 0, Optional FontSize As Integer = 0, Optional FontName As String = "")

Parameters

Text
String

Required String. The phonetic text to add.

Alignment
WdPhoneticGuideAlignmentType

Optional WdPhoneticGuideAlignmentType. The alignment of the added phonetic text.

Raise
Int32

Optional Integer. 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
Int32

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

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.

Applies to