PosPrinter.JrnLineHeight Property
2/27/2008
Gets or sets the journal print line height that the application wants to use, expressed in the unit of measure indicated by the MapMode property setting.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property JrnLineHeight As Integer
public abstract int JrnLineHeight { get; set; }
public:
virtual property int JrnLineHeight {
int get () abstract;
void set (int value) abstract;
}
/** @property */
public abstract int get_JrnLineHeight ()
/** @property */
public abstract void set_JrnLineHeight (int value)
public abstract function get JrnLineHeight () : int
public abstract function set JrnLineHeight (value : int)
Remarks
If the specified height can be supported with the current character width setting, the service object sets the line height to this value. If the exact height cannot be supported, the height is set to the closest supported value.
When the JrnLineChars property is changed, JrnLineHeight is updated to the default line height for the selected width.
The service object sets JrnLineHeight to the printer’s default line height when the device is first enabled following the Open method.
Accessing JrnLineHeight may cause a PosControlException to be thrown with the following ErrorCode:
Value |
Meaning |
Illegal |
The number of characters specified is less than 0 (zero). |
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
PosPrinter Class
PosPrinter Members
Microsoft.PointOfService Namespace
PosPrinter.JrnLineChars Property
MapMode