RubyText
PhoneticGuide.RubyText property
Gets ruby text of the phonetic guide.
public string RubyText { 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 PhoneticGuide
- namespace Aspose.Words
- assembly Aspose.Words