SpreadsheetGear 2017
RangeToLocation(Double,Double,Double,Double) Method






SpreadsheetGear.Windows.Forms Namespace > WorkbookView Class > RangeToLocation Method : RangeToLocation(Double,Double,Double,Double) Method
Specifies the fractional zero based row.
Specifies the fractional zero based column.
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).
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 _
) 
'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
 
instance.RangeToLocation(row, column, x, y)
public void RangeToLocation( 
   System.double row,
   System.double column,
   out System.double x,
   out System.double y
)
public procedure RangeToLocation( 
    row: System.Double;
    column: System.Double;
   Out  x: System.Double;
   Out  y: System.Double
); 
public function RangeToLocation( 
   row : System.double,
   column : System.double,
   x : System.double,
   y : System.double
);
public: void RangeToLocation( 
   System.double row,
   System.double column,
   [PARAMFLAG::Out] System.double x,
   [PARAMFLAG::Out] System.double y
) 
public:
void RangeToLocation( 
   System.double row,
   System.double column,
   [Out] System.double x,
   [Out] System.double y
) 

Parameters

row
Specifies the fractional zero based row.
column
Specifies the fractional zero based column.
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).
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,RangeLocationFlags) Method