Excel を見出し付きの HTML に変換する

Excel を見出し付きの HTML に変換する

Aspose.Cells は、Excel を HTML に変換する際に見出しをエクスポートするオプションを提供します。HtmlSaveOptions.ExportHeadingsプロパティへ真実.のデフォルト値HtmlSaveOptions.ExportHeadingsプロパティは間違い.次の図は、次のコードによって生成された出力ファイルを示しています。

todo:画像_代替_文章

サンプルコード

// 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);