unkillo.blogg.se

Gembox excel cell range
Gembox excel cell range







gembox excel cell range

If the offset is to right, the Cols argument is positive. If the offset location is to the left of the Reference argument, this value is negative. The namespace provides a DataGridViewConverter class which you can use to import or export an Excel file to the. Cols: The number of columns to the left or right of the Reference argument used to calculate the offset. This value can be positive, negative, or set to zero.In this example, the offset begins one row above the Reference argument, so the value for the argument is negative one (-1). If the offset is located in the same row, the argument is zero. If the offset is below, the Rows argument is positive. i.e.: var cr (rowIndex, colIndex, rowIndex, colIndex) var message 'Dodgy value was found in cell ' + cr.

gembox excel cell range

If the offset location is above the Reference argument, the value is negative. var dodg圜ell sheet.CellsrowIndex, colIndex The best workaround I have found if to create a CellRange of one cell and then use the startposition. This value can be positive, negative, or set to zero.

gembox excel cell range

Rows: The number of rows above or below the Reference argument used in calculating the offset is required. GemBox.Spreadsheet is used in a wide range of scenarios, from individual developers who need a simple way to read and.Public Class CellRange Inherits AbstractRange Implements IEnumerable ( Of ExcelCell), IEnumerable.

public class CellRange : AbstractRange, IEnumerable, IEnumerable.

In the example, the Reference argument is the cell reference for the formula because the range ends one cell above the formula. Cell range is a rectangular group of worksheet cells. Reference: The required cell reference used to calculate the range endpoint.In this example, the starting point is cell B2. Range Start: The starting point for the range of cells that will be totaled by the SUM function.









Gembox excel cell range