get_DefaultDelay()

GifOptions::get_DefaultDelay() method

Gets default delay time [ms]. This value will be used if the ISlideShowTransition::set_AdvanceAfterTime() method was not called. The default value is 1000.

int32_t Aspose::Slides::Export::GifOptions::get_DefaultDelay() override

Remarks

System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(u"pres.pptx");

auto gifOptions = System::MakeObject<GifOptions>();
gifOptions->set_DefaultDelay(2000);
pres->Save(u"pres.gif", SaveFormat::Gif, gifOptions);

See Also