Offset Method (Int32, Int32, Int32, Int32)

Office Open XML

Get a range with an offset from the top left cell.

Namespace:  OfficeOpenXml
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public ExcelRangeBase Offset(
	int RowOffset,
	int ColumnOffset,
	int NumberOfRows,
	int NumberOfColumns
)
Visual Basic (Declaration)
Public Function Offset ( _
	RowOffset As Integer, _
	ColumnOffset As Integer, _
	NumberOfRows As Integer, _
	NumberOfColumns As Integer _
) As ExcelRangeBase
Visual C++
public:
ExcelRangeBase^ Offset(
	int RowOffset, 
	int ColumnOffset, 
	int NumberOfRows, 
	int NumberOfColumns
)

Parameters

RowOffset
Type: System..::.Int32
Row Offset
ColumnOffset
Type: System..::.Int32
Column Offset
NumberOfRows
Type: System..::.Int32
Number of rows. Minimum 1
NumberOfColumns
Type: System..::.Int32
Number of colums. Minimum 1

Return Value

[Missing <returns> documentation for "M:OfficeOpenXml.ExcelRangeBase.Offset(System.Int32,System.Int32,System.Int32,System.Int32)"]

See Also