set_TargetSlide()

ZoomFrame::set_TargetSlide(System::SharedPtr<ISlide>) method

Sets the slide object that the Slide Zoom object links to. Write ISlide.

void Aspose::Slides::ZoomFrame::set_TargetSlide(System::SharedPtr<ISlide> value) override

Remarks

Next example demonstrates changing target slide and creates new image for the Slide Zoom object:

System::SharedPtr<IZoomFrame> zoomFrame = pres->get_Slides()->idx_get(0)->get_Shapes()->AddZoomFrame(150.0f, 20.0f, 50.0f, 50.0f, pres->get_Slides()->idx_get(1));
zoomFrame->set_TargetSlide(pres->get_Slides()->idx_get(2));

See Also