Method GetPosition
GetPosition(double)
Gets mouse button position.
public static PointD GetPosition(double scaleFactor)
Parameters
scaleFactor
doubleScale factor to use when converting pixels to dips.
Returns
GetPosition(Control?)
Calculates the position of the mouse relative to a particular element.
public static PointD GetPosition(Control? relativeTo)
Parameters
relativeTo
Control