set_TargetSlide()

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

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

virtual void Aspose::Slides::IZoomFrame::set_TargetSlide(System::SharedPtr<ISlide> value)=0

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