Share via


LineDisplay.MaximumX Property

2/27/2008

Gets the maximum number of horizontal pixels that the device supports

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

Syntax

'Declaration
Public MustOverride ReadOnly Property MaximumX As Integer
public abstract int MaximumX { get; }
public:
virtual property int MaximumX {
    int get () abstract;
}
/** @property */
public abstract int get_MaximumX ()
public abstract function get MaximumX () : int

Remarks

A value of 0 (zero) indicates that bitmaps are not supported.

Otherwise, MaximumX contains the maximum number of horizontal pixels supported by the device. It must be less than 65,536. Dividing MaximumX by the DeviceColumns property value gives the number of pixels required for each character.

The service object may update the MaximumX property when the ScreenMode property is changed.

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

LineDisplay Class
LineDisplay Members
Microsoft.PointOfService Namespace
LineDisplay.DeviceColumns Property
ScreenMode
MaximumY