PosPrinterBase.RecSidewaysMaxLines Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Holds the maximum number of lines that can be printed in sideways mode.

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

Syntax

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

Remarks

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

RecSidewaysMaxLines is initialized to 0 (zero) by the PosPrinterProperties class. The service object should update RecSidewaysMaxLines 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.RecSidewaysMaxLines Property