SpreadsheetGear The Performance Spreadsheet Component Company 
RangeToLocation(Double,Double,Double,Double,RangeLocationFlags) Method
See Also 
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

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: Windows Vista, Windows XP, Windows Server 2008, Windows Server 2003, Windows 2000, Windows Me and Windows 98, including 32 bit and 64 bit editions where applicable. SpreadsheetGear for .NET 1.x requires the Microsoft .NET Framework 1.1 or .NET 2.0 (works with .NET 3.x). SpreadsheetGear for .NET 2007 requires the Microsoft .NET Framework 2.0 (works with .NET 3.x).

See Also