Cadcorp SIS API Methods

GetCoordUnits Method

Description

Gets the preferred angle, linear, area or volume units used in the user interface.

Syntax

Visual Basic
Public Function GetCoordUnits( _
   ByVal nDim As Integer _
) As Integer

Parameters

nDim
The unit type to be returned:

SIS_UNIT_ANGLE
SIS_UNIT_LINEAR
SIS_UNIT_AREA
SIS_UNIT_VOLUME

Return Type

The constant corresponding to the unit type entered in the ndim parameter.

Remarks

Available: GEO MM ME MD OD OM SISpy

Group:

Example

sis.GetCoordUnits(SIS_UNIT_ANGLE)


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).