共用方式為


Cursor.SetSelectionPixelPosition(PointF, PointF, Boolean) 方法

定義

設定範圍選取的起始和結束位置。

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

參數

startPoint
PointF

PointF 結構,指定範圍選取的起始位置。

endPoint
PointF

PointF 結構,指定範圍選取的結束位置。

roundToBoundary
Boolean

如果是 true,表示如果指定的位置不在 ChartArea 物件內,起始點和結束點將靠近最近的圖表區域界線。

適用於