Cursor.SetCursorPixelPosition(PointF, Boolean) Method

Definition

Displays a cursor at the specified position. Measured in pixels.

C#
public void SetCursorPixelPosition(System.Drawing.PointF point, bool roundToBoundary);

Parameters

point
PointF

A PointF structure that specifies where the cursor will be drawn.

roundToBoundary
Boolean

If true, the cursor will be drawn along the nearest chart area boundary, if the specified position does not fall within a ChartArea object.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1