get_ZoomImage()

ZoomObject::get_ZoomImage() method

Gets image for zoom object. Read IPPImage.

System::SharedPtr<IPPImage> Aspose::Slides::ZoomObject::get_ZoomImage() override

Remarks

The example demonstrates changing an image of a Zoom object:

System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(u"pres.pptx");

System::SharedPtr<IZoomFrame> zoomFrame = pres->get_Slide(0)->get_Shapes()->AddZoomFrame(150.0f, 20.0f, 50.0f, 50.0f, pres->get_Slide(1));
System::SharedPtr<IPPImage> image = pres->get_Images()->AddImage(System::Drawing::Image::FromFile(u"image.png"));
zoomFrame->set_ZoomImage(image);

See Also