All Cadcorp SIS API Methods

MetreFromStr Method

Description

Gets a metre dimension from a string, regardless of the units used in the string.

Syntax

Visual Basic
Public Function MetreFromStr( _
   ByVal s As String _
) As Double

Parameters

s
The string representation of the dimension.

Return Type

The dimension in metres.

Remarks

Available: D OD OM

Group:

Example

sis.MetreFromStr ("1km")

returns a floating point number 1000 from the string "1km"