IsPhoneticGuide
Run.IsPhoneticGuide property
Gets a boolean value indicating either the run is a phonetic guide.
public bool IsPhoneticGuide { get; }
Examples
Shows how to get properties of the phonetic guide.
Document doc = new Document(MyDir + "Phonetic guide.docx");
RunCollection runs = doc.FirstSection.Body.FirstParagraph.Runs;
// Use phonetic guide in the Asian text.
Assert.That(runs[0].IsPhoneticGuide, Is.EqualTo(true));
Assert.That(runs[0].PhoneticGuide.BaseText, Is.EqualTo("base"));
Assert.That(runs[0].PhoneticGuide.RubyText, Is.EqualTo("ruby"));
See Also
- class Run
- namespace Aspose.Words
- assembly Aspose.Words