VpeGetUnitTransformation

<< Click to Display Table of Contents >>

Navigation:  Layout Functions >

VpeGetUnitTransformation

Previous pageReturn to chapter overviewNext page

Returns the coordinate system in which the API of VPE handles coordinates. The coordinate system of VPE can either be in centimeter or inch units, als well as the old (prior to v4.0) 0.1mm units.

double VpeGetUnitTransformation(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

The unit transformation factor:

Constant

Value

Description

VUNIT_FACTOR_CM

100000

coordinates are handled in cm units by the VPE API

VUNIT_FACTOR_INCH

254000

coordinates are handled in inch units by the VPE API

VUNIT_FACTOR_MM10

1000

coordinates are handled in 1/10 of a mm by the VPE API
(compatible to VPE < v4.0)