Share via


LineDisplayBase.CursorRow Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Holds the row in the current window to which the next displayed character will be output.

Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)

Syntax

'Declaration
Public Overrides Property CursorRow As Integer
public override int CursorRow { get; set; }
public:
virtual property int CursorRow {
    int get () override;
    void set (int value) override;
}
/** @property */
public int get_CursorRow ()

/** @property */
public void set_CursorRow (int value)
public override function get CursorRow () : int

public override function set CursorRow (value : int)

Remarks

LineDisplayBase class verifies that the device has been opened, then retrieves or sets the value of LineDisplayProperties.CursorRow, which is the CursorRow value for the service object’s current window. When an attempt is made to set CursorRow, the LineDisplayBase class may throw a PosControlException with the following ErrorCode:

Value

Meaning

Illegal

The specified value is less than 0 (zero) or greater than the value of the Rows property.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

LineDisplayBase Class
LineDisplayBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
LineDisplay.CursorRow Property