set_SkipJavaScriptLinks()

ISaveOptions::set_SkipJavaScriptLinks(bool) method

Specifies whether to skip hyperlinks with JavaScript calls when saving the presentation. Write bool. The default value is false.

virtual void Aspose::Slides::Export::ISaveOptions::set_SkipJavaScriptLinks(bool value)=0

Remarks

When this property is set to true, hyperlinks with JavaScript calls will be ignored while saving.

When this property is set to false, all hyperlinks will be saved.

Example:

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

System::SharedPtr<HtmlOptions> options = System::MakeObject<HtmlOptions>();
options->set_SkipJavaScriptLinks(true);

pres->Save(u"result_without_JavaScript_links.html", SaveFormat::Html, options);

See Also