SkipJavaScriptLinks

Specifies whether to skip hyperlinks with JavaScript calls when saving the presentation. Read/write Boolean. The default value is false.

public bool SkipJavaScriptLinks { get; set; }

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.

Examples

Example:

[C#]
using (Presentation pres = new Presentation("demo.pptx"))
{
    pres.Save("result_without_JavaScript_links.html", SaveFormat.Html, new HtmlOptions()
    {
        SkipJavaScriptLinks = true
    });
}

See Also