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

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.