SpreadsheetGear
Offset Method
See Also  Send Feedback
SpreadsheetGear Namespace > IRange Interface : Offset Method

rowOffset
The number of rows to offset by (may be negative).
columnOffset
The number of columns to offset by (may be negative).
Returns a copy of the current IRange which is offset by the specified number of rows and columns.

Syntax

Visual Basic (Declaration) 
Function Offset( _
   ByVal rowOffset As Integer, _
   ByVal columnOffset As Integer _
) As IRange
C# 
IRange Offset( 
   int rowOffset,
   int columnOffset
)

Parameters

rowOffset
The number of rows to offset by (may be negative).
columnOffset
The number of columns to offset by (may be negative).

Return Value

A copy of the current IRange which is offset by the specified number of rows and columns.

Requirements

Platforms: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2008 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.