CADGetInsUnits

  Functions >

CADGetInsUnits

Previous pageReturn to chapter overviewNext page

The CADGetInsUnits returns drawing units for CADImage according to its Handle.

 

Syntax

 

int CADGetInsUnits(

 HANDLE Handle,

  DWORDAInsUnits  

);

 

 

Parameters

 

Handle

Identifies the CADImage object handle.

AInsUnits

Unit values:

Value

Meaning

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

Unitless

Inches

Feet

Miles

Millimeters

Centimeters

Meters

Kilometers

Microinches

Mils

Yards

Angstroms

Nanometers

Microns

Decimeters

Decameters

Hectometers

Gigameters

Astronomical units

Light years

Parsecs

 

 

Return Value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call CADGetLastError.

 

See Also

CADCreate  | CADUnits


© 2003-2024 CADSoftTools

Go to CAD DLL