API Documentation -> NtTimeChartControl -> GetRowY

# NtTimeChartControl.GetRowY Method

Returns the ordinate (Y-coordinate) of a row in pixels.

Overload List:

Modifier / Return Value | Name and Parameters | Description
--- | --- | ---
public virtual int | GetRowY ( int r ) | Returns the height of the row with the zero based index r.

Return value:

int
Ordinate (Y-coordinate) of top edge of row r.

Parameters:

int r
Zero based index of the row.

Remarks:

Call this method to retrieve the ordinate (Y-coordinate) of the top edge of a column. Throws an exception if r is less than zero or bigger than the row count.
Note: It is ok to let r be equal to the row count. In this case the method will return the Y value for the bottom pixel of the bottom row +1. Example: If the control has 20 rows, each 30 pixels high, GetRowY(20) will return 600. Thus GetRowY(r+1) is usable to obtain the Y of the bottom edge +1 of each row.

See also:

GetColX()
GetColGetColHeaderStr()
GetColWidth()
GetRowHeight()

Top API Documentation -> NtTimeChartControl -> GetRowY © 2016 Bassaly