get_ImageType()
ZoomObject::get_ImageType() method
Gets the image type of a zoom object. Read ZoomImageType. Default value: Preview
ZoomImageType Aspose::Slides::ZoomObject::get_ImageType() override
Remarks
Specifies whether the Zoom object is using the slide preview or a cover image.
Next example demonstrates changing Image Type to Preview value. In this case current image of a Zoom object changes to slide image:
auto pres = System::MakeObject<Presentation>(u"pres.pptx");
auto shapes = pres->get_Slides()->idx_get(0)->get_Shapes();
auto image = pres->get_Images()->AddImage(Image::FromFile(u"image.png"));
auto zoomFrame = shapes->AddZoomFrame(150.0f, 20.0f, 50.0f, 50.0f, pres->get_Slides()->idx_get(1), image);
zoomFrame->set_ImageType(ZoomImageType::Preview);
See Also
- Enum ZoomImageType
- Class ZoomObject
- Namespace Aspose::Slides
- Library Aspose.Slides