Click or drag to resize

IListObject DisplayFirstColumn Property

Gets or sets a value indicating whether first column is present.
Examples
The following code illustrates how to set DisplayFirstColumn to "true" to enable the format for the first column:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>workbook.LoadFromFile("Sample.xlsx");</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Create table</para><para>IListObject table1 = worksheet.ListObjects.Create("Table1", worksheet["A1:C6"]);</para><para>//Set Column Visiblity</para><para>table1.DisplayFirstColumn = true;</para><para>table1.DisplayLastColumn = true;</para><para>//Save to file</para><para>workbook.SaveToFile("Table.xlsx");</para>

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
bool DisplayFirstColumn { get; set; }

Property Value

Type: Boolean
See Also