Syncfusion.XlsIO.Base
Example 


Column Property (IRange)

Gets the column index of the first column in the Range which is a one based index. Read-only.
Syntax
'Declaration
 
ReadOnly Property Column As Integer
'Usage
 
Dim instance As IRange
Dim value As Integer
 
value = instance.Column
int Column {get;}
Example
The following code illustrates how to access Column property of the Range.
ExcelEngine excelEngine = new ExcelEngine();
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Excel2013;
IWorkbook workbook = application.Workbooks.Create(1);
            
IWorksheet sheet = workbook.Worksheets[0];
int firstColumn = sheet["E1:R3"].Column;
 
workbook.SaveAs("Column.xlsx");
workbook.Close();
excelEngine.Dispose();
AssemblyVersion

Syncfusion.XlsIO.Base: 16.4460.0.40

See Also