PointCardRW.LineChars Property
Specifies the number of characters that can be printed on a line on the Point Card Reader/Writer.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim pointCardRW1 As PointCardRW
Dim returnValue As Integer
returnValue = pointCardRW1.LineChars
Dim sampleValue As Integer
pointCardRW1.LineChars = sampleValue
Syntax
'Declaration
Public MustOverride Property LineChars() As Integer
public abstract int LineChars {get; set;}
public: property virtual Int32 LineChars{
Int32 get();
Void set(Int32);
}
public abstract int get_LineChars();
public abstract void set_LineChars(int);
public abstract function get LineChars() : int;
public abstract function set LineChars(int);
Remarks
If changed to a line character width that can be supported, then the width is set to the specified value. If the exact width cannot be supported, then subsequent lines are printed with a character size that most closely supports the specified characters per line. (For example, if set to 36 and the Point Card Reader/Writer can print either 30 or 40 characters per line, the service object should select the character size “40” and print up to 36 characters on each line.)
If the character width cannot be supported, an error is returned. (For example, if set to 42 and the Point Card Reader/Writer can print either 30 or 40 characters per line, the service object cannot support the request.)
Setting LineChars may also update LineWidth, LineHeight, and LineSpacing because the character pitch or font may change.
The value of LineChars is typically initialized to the Point Card Reader/Writer’s default line character width when the device is first enabled by the service object.
Accessing LineChars can throw the following exception:
Value |
Meaning |
Illegal |
An invalid line character width was specified. |
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
LineCharsList