Click or drag to resize

IXLSRange Column Property

Returns the number of the first column in the first area in the specified range. Read-only.
Examples
The following code illustrates how to access Column property of the Range:
<para>//Create worksheet</para><para>Workbook workbook = new Workbook();</para><para>Worksheet worksheet = workbook.Worksheets[0];</para><para>//Get specific column</para><para>int firstColumn = worksheet["E1:R3"].Column;</para>

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

Property Value

Type: Int32
See Also