SkipJavaScriptLinks
SaveOptions.SkipJavaScriptLinks 属性
指定在保存演示文稿时是否跳过包含 JavaScript 调用的超链接。可读写布尔值。默认值为 false。
public bool SkipJavaScriptLinks { get; set; }
备注
当此属性设置为 true 时,保存时将忽略包含 JavaScript 调用的超链接。
当此属性设置为 false 时,所有超链接将被保存。
示例
示例:
[C#]
using (Presentation pres = new Presentation("demo.pptx"))
{
pres.Save("result_without_JavaScript_links.html", SaveFormat.Html, new HtmlOptions()
{
SkipJavaScriptLinks = true
});
}
另请参阅
- class SaveOptions
- namespace Aspose.Slides.Export
- assembly Aspose.Slides