StrFromMetre Method
Description
Formats a metre dimension as a string, in a chosen format.
Syntax
| Visual Basic | 
|---|
Public Function StrFromMetre( _ ByVal metre As Double, _ ByVal nDim As Integer, _ ByVal bShowUnits As Integer _ ) As String  | 
                                                        
Parameters
- metre
 - The metre dimension to be formatted.
 - nDim
 - 
                                                            
SIS_LENGTHDIMFormat the dimension as a length. SIS_AREADIMFormat the dimension as an area. SIS_VOLUMEDIMFormat the dimension as a volume.  - bShowUnits
 - 
                                                            
TrueShow the units in the formatted string. FalseDo not show the units in the formatted string.  
Return Type
A string formatted in the current units.
Remarks
Available: D OD OM OV
Group:
Example
rv = sis.StrFromMetre (1000, SIS_LENGTHDIM,TRUE)