編輯

共用方式為


Cursor.SetCursorPixelPosition(PointF, Boolean) Method

Definition

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

public:
 void SetCursorPixelPosition(System::Drawing::PointF point, bool roundToBoundary);
public void SetCursorPixelPosition (System.Drawing.PointF point, bool roundToBoundary);
member this.SetCursorPixelPosition : System.Drawing.PointF * bool -> unit
Public Sub SetCursorPixelPosition (point As PointF, roundToBoundary As Boolean)

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