get_TargetSection()

SectionZoomFrame::get_TargetSection() method

Gets the section object that the Section Zoom object links to. Read ISection.

System::SharedPtr<ISection> Aspose::Slides::SectionZoomFrame::get_TargetSection() override

Remarks

Next example demonstrates changing target section and creates new image for the section zoom object:

auto pres = System::MakeObject<Presentation>();
auto shapes = pres->get_Slides()->idx_get(0)->get_Shapes();

auto sectionZoomFrame = shapes->AddSectionZoomFrame(150.0f, 20.0f, 50.0f, 50.0f, pres->get_Sections()->idx_get(1));
sectionZoomFrame->set_TargetSection(pres->get_Sections()->idx_get(2));

See Also