Returns the ApiRange object that represents all the cells on the columns range.
Name | Type | Description |
sRange | string | Specifies the columns range in the string format. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oCols = oWorksheet.GetCols("A1:C1"); oCols.SetFillColor(Api.CreateColorFromRGB(255, 213, 191)); builder.SaveFile("xlsx", "GetCols.xlsx"); builder.CloseFile();