Cursor.SetSelectionPixelPosition(PointF, PointF, Boolean) Cursor.SetSelectionPixelPosition(PointF, PointF, Boolean) Cursor.SetSelectionPixelPosition(PointF, PointF, Boolean) 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 PointF PointF PointF

A PointF structure that specifies where the range selection begins.

endPoint
PointF PointF PointF PointF

A PointF structure that specifies where the range selection ends.

roundToBoundary
Boolean Boolean Boolean 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