get_TransitionDuration()

ZoomObject::get_TransitionDuration() method

Gets the duration of the transition between Zoom and slide. Read float. Default value: 1.0f

float Aspose::Slides::ZoomObject::get_TransitionDuration() override

Remarks

If not specified (TransitionDur = 0), it will use the destination slide transition and the timings associated with that transition.

the example demonstrates changing the duration of the transition between Zoom and slide:

auto pres = System::MakeObject<Presentation>(u"pres.pptx");
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_TransitionDuration(2.5f);

See Also