SpreadsheetGear 2010
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

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2003-2010 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.