SpreadsheetGear 2023
RangeToLocation(Double,Double,Double,Double,RangeLocationFlags) Method


SpreadsheetGear.Windows.Controls Namespace > WorkbookView Class > RangeToLocation Method : RangeToLocation(Double,Double,Double,Double,RangeLocationFlags) Method
Specifies the fractional zero based row or -1 for the header or -2 for the outline.
Specifies the fractional zero based column or -1 for the header or -2 for the outline.
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).
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).
Specifies which pane to use and whether to include row and column headers and outlines in the calculations.
Returns the screen coordinates of the fractional zero based row and columns.
Syntax
'Declaration
 
Public Overloads Sub RangeToLocation( _
   ByVal row As System.Double, _
   ByVal column As System.Double, _
   ByRef x As System.Double, _
   ByRef y As System.Double, _
   ByVal flags As RangeLocationFlags _
) 
'Usage
 
Dim instance As WorkbookView
Dim row As System.Double
Dim column As System.Double
Dim x As System.Double
Dim y As System.Double
Dim flags As RangeLocationFlags
 
instance.RangeToLocation(row, column, x, y, flags)
public void RangeToLocation( 
   System.double row,
   System.double column,
   out System.double x,
   out System.double y,
   RangeLocationFlags flags
)

Parameters

row
Specifies the fractional zero based row or -1 for the header or -2 for the outline.
column
Specifies the fractional zero based column or -1 for the header or -2 for the outline.
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 and outlines in the calculations.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WorkbookView Class
WorkbookView Members
Overload List
RangeToLocation(Double,Double,Double,Double) Method