DK for Delphi | GisCsBase.TGIS_CSUnits.AutoSelect | Constructors | Methods | Properties
Returned the most appropriate sub unit for selected value.
// Delphi public function AutoSelect( const _areal : Boolean; var _value : Double ) : TGIS_CSUnits;
// C++ Builder public: TGIS_CSUnits* AutoSelect( const bool _areal, double &_value );
| Name | Type | Description |
|---|---|---|
| _areal | Boolean | if true select areal units, if false select linear. |
| _value | Double | units in base metric |
| Type | Description |
|---|---|
| TGIS_CSUnits | Units converted to string. |