Edit

Share via


LcdConsole.SetCursorPosition(Int32, Int32) Method

Definition

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