set_ZoomImage()
ZoomObject::set_ZoomImage(System::SharedPtr<IPPImage>) method
Sets image for zoom object. Write IPPImage.
void Aspose::Slides::ZoomObject::set_ZoomImage(System::SharedPtr<IPPImage> value) 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
- Typedef SharedPtr
- Class IPPImage
- Class ZoomObject
- Namespace Aspose::Slides
- Library Aspose.Slides