Share via


Scale.MaximumWeight Property

Contains the maximum weight measurement possible from the scale.

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

Usage

'Usage
Dim scale1 As Scale

Dim returnValue As Decimal
returnValue = scale1.MaximumWeight

Syntax

'Declaration
Public MustOverride ReadOnly Property MaximumWeight() As Decimal
public abstract decimal MaximumWeight {get;}
public: property virtual Decimal^ MaximumWeight{
    Decimal^ get();
}
public abstract System.Decimal get_MaximumWeight();
public abstract function get MaximumWeight() : Decimal;

Remarks

The measurement unit is available via the WeightUnit property.

MaximumWeight has an assumed decimal place located after the “thousands” digit position. For example, an actual value of 12345 represents 12.345, and an actual value of 5 represents 0.005.

MaximumWeight is typically initialized to zero. 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
WeightUnit