Cursor.SetSelectionPixelPosition(PointF, PointF, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.