Method ViewportToGraphSpace
ViewportToGraphSpace(int, int)
Returns the section of the graph that is represented by the given viewport-relative position.
public RectangleF ViewportToGraphSpace(int col, int row)
Parameters
Returns
- RectangleF
The rectangle in graph space that corresponds to the viewport cell at the given position.
ViewportToGraphSpace(Rectangle)
Returns the section of the graph that is represented by the viewport-relative area.
public RectangleF ViewportToGraphSpace(Rectangle viewportArea)
Parameters
viewportAreaRectangleRectangle in viewport-relative coordinates.
Returns
- RectangleF
The rectangle in graph space that corresponds to the viewport area.