XlsbSaveOptions.ExportAllColumnIndexes
XlsbSaveOptions.ExportAllColumnIndexes property
Indicates whether exporting all column indexes for cells.
public bool ExportAllColumnIndexes { get; set; }
Remarks
The default value is true.
Examples
using System;
using Aspose.Cells;
namespace AsposeCellsExamples
{
public class XlsbSaveOptionsPropertyExportAllColumnIndexesDemo
{
public static void Run()
{
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];
// Populate some data
worksheet.Cells["A1"].PutValue("Header");
worksheet.Cells["A2"].PutValue(1);
worksheet.Cells["B2"].PutValue(2);
worksheet.Cells["C2"].PutValue(3);
XlsbSaveOptions saveOptions = new XlsbSaveOptions
{
ExportAllColumnIndexes = true // Demonstrate the property usage
};
workbook.Save("XlsbExportAllColumnIndexes.xlsb", saveOptions);
}
}
}
See Also
- class XlsbSaveOptions
- namespace Aspose.Cells
- assembly Aspose.Cells