Share via


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

2/27/2008

Indicates the glyph width based on the number of pixels for a character cell.

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

Syntax

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

Remarks

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

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