Formats a metre dimension as a string, in a chosen format.
Visual Basic |
---|
Public Function StrFromMetre( _ ByVal metre As Double, _ ByVal nDim As Integer, _ ByVal bShowUnits As Integer _ ) As String |
SIS_LENGTHDIM
|
Format the dimension as a length. |
SIS_AREADIM
|
Format the dimension as an area. |
SIS_VOLUMEDIM
|
Format the dimension as a volume. |
True
|
Show the units in the formatted string. |
False
|
Do not show the units in the formatted string. |
A string formatted in the current units.
Available: MM ME MD OD OM OV
Group:
rv = sis.StrFromMetre (1000, SIS_LENGTHDIM,TRUE)
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).