set_ShowBackground()

ZoomObject::set_ShowBackground(bool) method

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

void Aspose::Slides::ZoomObject::set_ShowBackground(bool value) override

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