HTML e Aktarmayı Devre Dışı Bırak Çerçeve Betikleri ve Belge Özellikleri

Çerçeve betikleri ve belge özelliklerinin dışa aktarılmasını devre dışı bırak

Aşağıdaki örnek kod, çerçeve betikleri ve belge özelliklerinin dışa aktarılmasını devre dışı bırakmanıza olanak tanır. Bir çalışma kitabını HTML’e dönüştürdüğünüzde, çıktı dosyası herhangi bir çerçeve betiği ve belge özelliği içermez.

from aspose.cells import HtmlSaveOptions, Workbook
# For complete examples and data files, please go to https:# github.com/aspose-cells/Aspose.Cells-for-.NET
# The path to the documents directory.
dataDir = RunExamples.GetDataDir(".")
# Open the required workbook to convert
w = Workbook(dataDir + "Sample1.xlsx")
# Disable exporting frame scripts and document properties
options = HtmlSaveOptions()
options.export_frame_scripts_and_properties = False
# Save workbook as HTML
w.save(dataDir + "output.out.html", options)