Share via


PosPrinterBase.RecSidewaysMaxChars Property

2/27/2008

Holds the maximum number of characters that can be printed on each line in sideways mode.

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

Syntax

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

Remarks

PosPrinterBase class verifies that the device has been opened, claimed, and enabled, then retrieves the value of PosPrinterProperties.RecSidewaysMaxChars. If the values of CapRecLeft90 and CapRecRight90 are 0 (zero), the RecSidewaysMaxChars property returns 0 (zero).

RecSidewaysMaxChars is initialized to 0 (zero) by the PosPrinterProperties class. The service object should update RecSidewaysMaxChars to an appropriate value in its Open method.

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

PosPrinterBase Class
PosPrinterBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
PosPrinter.RecSidewaysMaxChars Property