Table of contents
TOC
Collapse the table of content
Expand the table of content

Field.PhoneticGuide Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns a PhoneticGuide object that represents the properties of phonetic text applied to a text range.

Syntax

expression. PhoneticGuide

_expression_A variable that represents a Field object.

Return Value

PhoneticGuide

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:="ver-E nIs") 
 MsgBox "The base text is " &; .PhoneticGuide.BaseText 
 End With 
End Sub
© 2018 Microsoft