API Reference
Class
RangeBuilder
Fluent helper for operating over a rectangular A1 range (formatting, setting, clearing, per‑cell writes).
Inheritance
- Object
- RangeBuilder
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method RangeBuilder.Cell
- Method RangeBuilder.Clear
- Method RangeBuilder.NumberFormat
- Method RangeBuilder.Set
- Method RangeBuilder.Style
Accepted by parameters
- Method SheetBuilder.Range
Methods
public RangeBuilder Cell(Int32 rowOffset, Int32 columnOffset, Object value = null, String formula = null, String numberFormat = null) #Returns:
RangeBuilderWrites an individual cell within the range by offset (1‑based) from the top‑left corner.
Parameters
- rowOffset System.Int32
- columnOffset System.Int32
- value System.Object = null
- formula System.String = null
- numberFormat System.String = null
public RangeBuilder NumberFormat(String numberFormat) #Returns:
RangeBuilderApplies a number format to all cells in the range.
Parameters
- numberFormat System.String
public RangeBuilder Set(Object[] values) #Returns:
RangeBuilderWrites a 2D array of values into the range. The array dimensions must match the range size.
Parameters
- values System.Object[0:,0:]
public RangeBuilder Style(Action<StyleBuilder> action) #Returns:
RangeBuilderApplies styles to the range via a nested StyleBuilder.
Parameters
- action System.Action{OfficeIMO.Excel.Fluent.StyleBuilder}