• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class RangeAccessor

Provides access to ranges within a worksheet using string-based labels.

Inheritance
object
RangeAccessor
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RangeAccessor
Remarks

RangeAccessor enables convenient access to cell ranges using A1-style notation (e.g., "A1:B10", "C5", "Sheet2!D1:E20"). It is typically accessed through the Range property.

Examples
// Access ranges using string labels
var range1 = worksheet.Range["A1:B10"];
var range2 = worksheet.Range["C5"];

Properties

this[string]

Gets a range from the worksheet using an A1-style label.

Declaration
public Range this[string label] { get; }
Parameters
Type Name Description
string label

The A1-style label (e.g., "A1:B10", "C5").

Property Value
Type Description
Range

The range at the specified address.

Remarks

RangeAccessor enables convenient access to cell ranges using A1-style notation (e.g., "A1:B10", "C5", "Sheet2!D1:E20"). It is typically accessed through the Range property.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX