GetRows
Returns the ApiRange object that represents all the cells on the rows range.
Parameters:
Name |
Type |
Description |
value |
string | number
|
Specifies the rows range in the string or number format. |
Returns:
- Type
-
ApiRange | Error
Example
Copy code
builder.CreateFile("xlsx");
var oWorksheet = Api.GetActiveSheet();
oWorksheet.GetRows("1:4").SetFillColor(Api.CreateColorFromRGB(255, 213, 191));
builder.SaveFile("xlsx", "GetRows.xlsx");
builder.CloseFile();
Resulting document