In This Topic ▼

AnnUnitConverter Class Members

Summary

The following tables list the members exposed by AnnUnitConverter.

Public Methods

Name Description
Public Method static  | Shared in VB convert Converts a value from one unit to another.
Public Method static  | Shared in VB convertAngularUnit Converts an angular value from one unit to another.
Public Method static  | Shared in VB convertFromPixels Converts a value from pixels.
Public Method static  | Shared in VB convertToPixels Converts a value to pixels.
Public Method static  | Shared in VB getAngularUnitAbbreviation Gets the abbreviation that corresponds to a given angular unit of measure.
Public Method static  | Shared in VB getUnitAbbreviation Gets the abbreviation for a given unit of measure.
Public Method static  | Shared in VB getUnits Returns a dictionary containing all the units and their current abbreviation.
Public Method static  | Shared in VB setUnitAbbreviation Modifies the default string abbreviation to be used with a specific unit.

Public Properties

Name Description
Public Property customUnitAbbreviation The abbreviation that corresponds to the custom unit of measure.
Public Property customUnitPerInch The value (in inches) of the custom unit.
Public Property smartEnglishMaximumUnit Gets or sets the maximum AnnUnit to use when using smart English units.
Public Property smartMetricMaximumUnit Gets or sets the maximum AnnUnit to use when using smart Metric units.

See Also

Reference

AnnUnitConverter Class

Leadtools.Annotations.Engine Namespace

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.