LcdConsole.SetCursorPosition(Int32, Int32) 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.
Moves the cursor to an explicit column and row position. The position may be outside the bounds of the display. Any subsequent writes will then have no effect, unless LineFeedMode allows it or a newline character is written.
public void SetCursorPosition (int left, int top);
member this.SetCursorPosition : int * int -> unit
Public Sub SetCursorPosition (left As Integer, top As Integer)
Parameters
- left
- Int32
The column position from left to right starting with 0.
- top
- Int32
The row position from the top starting with 0.
Exceptions
The new position negative.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for