Share via


FiscalPrinter.MessageLength Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets the maximum number of characters that can be passed as a message line in the PrintRecMessage method.

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

Syntax

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

Remarks

The value may change in different modes of the fiscal printer. For example, in the FiscalReceipt mode, the number of characters may be bigger than in the FiscalReceiptTotal mode.

MessageLength is set and kept current by the service object while the device is enabled.

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

FiscalPrinter Class
FiscalPrinter Members
Microsoft.PointOfService Namespace