Cursor.SetCursorPixelPosition(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.
Displays a cursor at the specified position. Measured in pixels.
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)
Parameters
- roundToBoundary
- Boolean
If true
, the cursor will be drawn along the nearest chart area boundary, if the specified position does not fall within a ChartArea object.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.