Share via


PointCardRW.LineSpacing Property

2/27/2008

Gets or sets the spacing of each single-high print line. This includes both the printed line height plus the white space between each pair of lines.

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

Syntax

'Declaration
Public MustOverride Property LineSpacing As Integer
public abstract int LineSpacing { get; set; }
public:
virtual property int LineSpacing {
    int get () abstract;
    void set (int value) abstract;
}
/** @property */
public abstract int get_LineSpacing ()

/** @property */
public abstract void set_LineSpacing (int value)
public abstract function get LineSpacing () : int

public abstract function set LineSpacing (value : int)

Remarks

Depending on point card reader/writer and the current line spacing, a multi-high print line might exceed this value. If the CapPrintMode property is true, line spacing is expressed in the unit of measure given by MapMode.

If changed to a spacing that can be supported by point card reader/writer, then the line spacing is set to this value. If the spacing cannot be supported, then the spacing is set to the closest supported value.

When the LineChars or LineHeight property is changed, the LineSpacing property is updated to the default line spacing for the selected width or height.

The value of the LineSpacing property is typically initialized to the point card reader/writer's default line spacing when the device is first enabled following the Open method. It should then be 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

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace