Aspose::Words::Run::get_IsPhoneticGuide method
Run::get_IsPhoneticGuide method
Gets a boolean value indicating either the run is a phonetic guide.
_Bool Aspose::Words::Run::get_IsPhoneticGuide()
Examples
Shows how to get properties of the phonetic guide.
auto doc = System::MakeObject<Aspose::Words::Document>(System::String(get_MyDir() + u"Phonetic guide.docx"));
System::SharedPtr<Aspose::Words::RunCollection> runs = doc->get_FirstSection()->get_Body()->get_FirstParagraph()->get_Runs();
// Use phonetic guide in the Asian text.
ASPOSE_ASSERT_EQ(runs->idx_get(0)->get_IsPhoneticGuide(), true);
ASSERT_EQ(runs->idx_get(0)->get_PhoneticGuide()->get_BaseText(), u"base");
ASSERT_EQ(runs->idx_get(0)->get_PhoneticGuide()->get_RubyText(), u"ruby");
See Also
- Class Run
- Namespace Aspose::Words
- Library Aspose.Words for C++