Share via


Scale.CapPriceCalculating Property

Indicates whether a scale can calculate prices.

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

Usage

'Usage
Dim scale1 As Scale

Dim returnValue As Boolean
returnValue = scale1.CapPriceCalculating

Syntax

'Declaration
Public MustOverride ReadOnly Property CapPriceCalculating() As Boolean
public abstract bool CapPriceCalculating {get;}
public: property virtual Boolean CapPriceCalculating{
    Boolean get();
}
public abstract boolean get_CapPriceCalculating();
public abstract function get CapPriceCalculating() : Boolean;

Remarks

Set to TRUE if the scale can calculate prices. Otherwise it is FALSE, indicating that the scale returns only a weight.

For price-calculating scales, the calculation unit is in the scale rather than in the data-receiving terminal. For price-calculating scales, set the UnitPrice property before calling the ReadWeight method.

CapPriceCalculating is typically initialized to FALSE. It should then be updated by the service object based on the capabilities of the device.

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

Scale Class
Scale Members
Microsoft.PointOfService Namespace
ReadWeight
WeightUnit
UnitPrice
SalesPrice