Share via


PointCardRW.LineSpacing Property

The spacing of each single-high print line, including both the printed line height plus the white space between each pair of lines.

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

Usage

'Usage
Dim pointCardRW1 As PointCardRW

Dim returnValue As Integer
returnValue = pointCardRW1.LineSpacing

Dim sampleValue As Integer
pointCardRW1.LineSpacing = sampleValue

Syntax

'Declaration
Public MustOverride Property LineSpacing() As Integer
public abstract int LineSpacing {get; set;}
public: property virtual Int32 LineSpacing{
    Int32 get();
    Void set(Int32);
}
public abstract int get_LineSpacing();
public abstract void set_LineSpacing(int);
public abstract function get LineSpacing() : int;
public abstract function set LineSpacing(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 LineChars or LineHeight is changed, LineSpacing is updated to the default line spacing for the selected width or height.

The value of LineSpacing 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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace