Version

WorksheetRegion Constructor

Initializes a new instance of the WorksheetRegion class.
Syntax
public WorksheetRegion( 
   Worksheet worksheet,
   int firstRow,
   int firstColumn,
   int lastRow,
   int lastColumn
)

Parameters

worksheet
The worksheet on which the region resides.
firstRow
The index of the first row of the region.
firstColumn
The index of the first column of the region.
lastRow
The index of the last row of the region.
lastColumn
The index of the last row column of the region.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionworksheet is null.
System.InvalidOperationExceptionfirstRow is greater than lastRow or firstColumn is greater than lastColumn.
System.ArgumentOutOfRangeException Any row or column indices specified are outside the valid row or column ranges.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also