set_DefaultDelay()

GifOptions::set_DefaultDelay(int32_t) method

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

void Aspose::Slides::Export::GifOptions::set_DefaultDelay(int32_t value) 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