Konvertieren Sie Excel in HTML mit Überschriften

Konvertieren Sie Excel in HTML mit Überschriften

Aspose.Cells bietet die Möglichkeit, Überschriften beim Konvertieren von Excel in HTML zu exportierenHtmlSaveOptions.ExportHeadings Eigentum zuwahr. Der Standardwert vonHtmlSaveOptions.ExportHeadings Eigentum istFALSCH. Das folgende Bild zeigt die vom folgenden Code generierte Ausgabedatei.

todo: Bild_alt_Text

Beispielcode

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
//Load sample source file
Workbook workbook = new Workbook(sourceDir + "Book1.xlsx");
HtmlSaveOptions options = new HtmlSaveOptions();
options.ExportRowColumnHeadings = true;
// Save the workbook
workbook.Save(outputDir + "PrintHeadings_out.html", options);