PhoneticGuide Object

Microsoft Publisher Visual Basic

PhoneticGuide Object

Field PhoneticGuide

Represents base text with supplementary text appearing above it as a guide to pronunciation.

Using the PhoneticGuide object

Use the PhoneticGuide property of a Field object to return an existing PhoneticGuide object. Use the AddPhoneticGuide method of a Fields collection to create a new PhoneticGuide object.

The following example adds a new PhoneticGuide object to the active publication.

    Selection.TextRange.Fields.AddPhoneticGuide _ 
     Range:=Selection.TextRange, Text:="ver-E nIs", _
     Alignment:=pbPhoneticGuideAlignmentCenter, _
     Raise:=11, FontSize:=7