set_ShowBackground()

IZoomObject::set_ShowBackground(bool) method

Sets value that specifies whether the Zoom will use the background of the destination slide. Write bool. Default value: true

virtual void Aspose::Slides::IZoomObject::set_ShowBackground(bool value)=0

Remarks

The example demonstrates removing the background of an image of a Zoom object:

auto pres = System::MakeObject<Presentation>();
auto shapes = pres->get_Slides()->idx_get(0)->get_Shapes();

auto zoomFrame = shapes->AddZoomFrame(150.0f, 20.0f, 50.0f, 50.0f, pres->get_Slides()->idx_get(1));
zoomFrame->set_ShowBackground(false);

See Also