แก้ไข

แชร์ผ่าน


Cursor.SetSelectionPixelPosition(PointF, PointF, Boolean) Method

Definition

Sets the start and end positions of a range selection.

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)

Parameters

startPoint
PointF

A PointF structure that specifies where the range selection begins.

endPoint
PointF

A PointF structure that specifies where the range selection ends.

roundToBoundary
Boolean

If true, the start and end points will be rounded to the nearest chart area boundary if the specified positions do not fall within a ChartArea object.

Applies to