Method ScreenToViewport
ScreenToViewport(in Point)
Converts a screen-relative coordinate to a Viewport-relative coordinate.
public Point ScreenToViewport(in Point location)
Parameters
location
PointScreen-Relative Coordinate.
Returns
Remarks
Viewport-relative means relative to the top-left corner of the inner rectangle of the Padding.