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>(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(true, runs->idx_get(0)->get_IsPhoneticGuide());
ASSERT_EQ(u"base", runs->idx_get(0)->get_PhoneticGuide()->get_BaseText());
ASSERT_EQ(u"ruby", runs->idx_get(0)->get_PhoneticGuide()->get_RubyText());

See Also