Cursor.SetCursorPixelPosition(PointF, Boolean) メソッド

定義

指定した位置にカーソルを表示します。 ピクセル単位で測定されます。

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)

パラメーター

point
PointF

カーソルを描画する場所を指定する PointF 構造体。

roundToBoundary
Boolean

true場合、指定した位置がChartArea オブジェクト内にない場合、カーソルは最も近いグラフエリア境界に沿って描画されます。

適用対象