Share via


PointCardRW.MapMode Property

Contains the mapping mode of the Point Card Reader/Writer.

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

Usage

'Usage
Dim pointCardRW1 As PointCardRW

Dim returnValue As MapMode
returnValue = pointCardRW1.MapMode

Dim sampleValue As MapMode
pointCardRW1.MapMode = sampleValue

Syntax

'Declaration
Public MustOverride Property MapMode() As MapMode
public abstract MapMode MapMode {get; set;}
public: property virtual MapMode^ MapMode{
    MapMode^ get();
    Void set(MapMode^);
}
public abstract MapMode get_MapMode();
public abstract void set_MapMode(MapMode);
public abstract function get MapMode() : MapMode;
public abstract function set MapMode(MapMode);

Remarks

The mapping mode defines the unit of measure used for other properties, such as line heights and line spacings.

Setting MapMode may also change LineHeight, LineSpacing, and LineWidth.

MapMode is typically initialized to Dots by the service object.

Accessing MapMode can throw the following exception:

Value

Meaning

Illegal

An invalid mapping mode 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