PhoneticGuide.BaseText Property (Publisher)
Returns a String that represents the text to which the specified phonetic text applies. Read-only.
Syntax
expression .BaseText
expression A variable that represents a PhoneticGuide object.
Return Value
String
Example
This example adds phonetic text to the selection and displays the text to which the phonetic text applies, which is the originally-selected text. This example assumes text is selected. If no text is selected, the message box will be blank.
Sub AddPhoneticText()
With Selection.TextRange.Fields.AddPhoneticGuide _
(Range:=Selection.TextRange, Text:="tray sheek")
MsgBox "The base text is " & .PhoneticGuide.BaseText
End With
End Sub