Share via


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

2/27/2008

Holds the number of columns on this device.

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

Syntax

'Declaration
Public Overrides ReadOnly Property DeviceColumns As Integer
public override int DeviceColumns { get; }
public:
virtual property int DeviceColumns {
    int get () override;
}
/** @property */
public int get_DeviceColumns ()
public override function get DeviceColumns () : int

Remarks

LineDisplayBase class verifies that the device has been opened, then retrieves the value of LineDisplayProperties.DeviceColumns, which is the ScreenModeList.Columns value for the current Screen Mode.

DeviceColumns is initialized to 0 (zero) by the LineDisplayProperties class.

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.DeviceColumns Property
LineDisplay.ScreenModeList Property