Excel を見出し付きの HTML に変換する
Contents
[
Hide
]
Excel を見出し付きの HTML に変換する
Aspose.Cells は、Excel を HTML に変換する際に見出しをエクスポートするオプションを提供します。HtmlSaveOptions.ExportHeadingsプロパティへ真実.のデフォルト値HtmlSaveOptions.ExportHeadingsプロパティは間違い.次の図は、次のコードによって生成された出力ファイルを示しています。
サンプルコード
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); |