SpreadsheetGear
RangeToLocation(Double,Double,Double,Double,RangeLocationFlags) Method
See Also  Send Feedback
SpreadsheetGear.Windows.Forms Namespace > WorkbookView Class > RangeToLocation Method : RangeToLocation(Double,Double,Double,Double,RangeLocationFlags) Method

row
Specifies the fractional zero based row or -1 for the header.
column
Specifies the fractional zero based column or -1 for the header.
x
Returns the horizontal screen coordinate (could be a very large positive or negative number if the column is far away from the currently displayed columns).
y
Returns the vertical screen coordinate (could be a very large positive or negative number if the row is far away from the currently displayed rows).
flags
Specifies which pane to use and whether to include row and column headers in the calculations.
Returns the screen coordinates of the fractional zero based row and columns.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub RangeToLocation( _
   ByVal row As Double, _
   ByVal column As Double, _
   ByRef x As Double, _
   ByRef y As Double, _
   ByVal flags As RangeLocationFlags _
) 
C# 
public void RangeToLocation( 
   double row,
   double column,
   out double x,
   out double y,
   RangeLocationFlags flags
)

Parameters

row
Specifies the fractional zero based row or -1 for the header.
column
Specifies the fractional zero based column or -1 for the header.
x
Returns the horizontal screen coordinate (could be a very large positive or negative number if the column is far away from the currently displayed columns).
y
Returns the vertical screen coordinate (could be a very large positive or negative number if the row is far away from the currently displayed rows).
flags
Specifies which pane to use and whether to include row and column headers in the calculations.

Requirements

Platforms: x86 and x64 versions of Windows 2000, Windows XP, Windows Vista, Windows 7, Windows Server 2003 (including R2) and Windows Server 2008 (including R2). SpreadsheetGear 2009 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.