PosPrinterBase.JrnLineHeight Property (POS for .NET v1.12 SDK Documentation)
2/27/2008
Holds the journal print line height the application wants to use, expressed in the unit of measure indicated by the MapMode property setting.
Namespace: Microsoft.PointOfService.BaseServiceObjects
Assembly: Microsoft.PointOfService.ControlBase (in microsoft.pointofservice.controlbase.dll)
Syntax
'Declaration
Public Overrides Property JrnLineHeight As Integer
public override int JrnLineHeight { get; set; }
public:
virtual property int JrnLineHeight {
int get () override;
void set (int value) override;
}
/** @property */
public int get_JrnLineHeight ()
/** @property */
public void set_JrnLineHeight (int value)
public override function get JrnLineHeight () : int
public override function set JrnLineHeight (value : int)
Remarks
PosPrinterBase class verifies that the device has been opened, claimed, and enabled, then retrieves or sets the value of PosPrinterProperties.JrnLineHeight. The PosPrinterBase class may throw PosControlException exceptions under the following conditions, with the specified ErrorCodes:
Value |
Meaning |
Illegal |
This property has been set to a value less than 0 (zero). |
JrnLineHeight is initialized to 0 (zero) by the PosPrinterProperties class. The service object should update JrnLineHeight in its Open method to the printer’s default line height.
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.JrnLineHeight Property