get_ZoomImage()
IZoomObject::get_ZoomImage() method
Gets image for zoom object. Read IPPImage.
virtual System::SharedPtr<IPPImage> Aspose::Slides::IZoomObject::get_ZoomImage()=0
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
- Typedef SharedPtr
- Class IPPImage
- Class IZoomObject
- Namespace Aspose::Slides
- Library Aspose.Slides