IN_GetFormatInputScaleFactor

image\bltlrgsq_shg.gif Editions  image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

The IN_GetFormatInputScaleFactor function returns the input Scale Factor for the format specified. This defines how files of this format are scaled when loaded into memory and whether Scale Factor is on or off.

Syntax

int IN_GetFormatInputScaleFactor( formatID, inScale, inUnits, inActive )

Input Parameters

Values

Meaning

SHORT formatID

API_FF_DXF (529)

API_FF_DGN (508)

API_FF_MI (507)

API_FF_CADRA (526)

API_FF_AUTOTROL_DX (67)

API_FF_CGM (516)

API_FF_IGS (518)

Autodesk format

Intergraph MS Version format

MI ME10Format (read-only)

ADRA CADRA (read-only)

DX Auto-trol Raster

CGM Computer Graphics Metafile Clear Text

IGS IGES (read-only)

Output Parameters

Values

Meaning

DOUBLEPTR inScale

0.001 | …

scale factor

USHORTPTR inUnits

IN_UNITS_INCH (1)

IN_UNITS_CM (2)

pointer to the units being used

IN_BOOLPTR inActive

0 | 1

pointer to whether Scale Factor is disabled or enabled. See Remarks.

Remarks

Scale Factor must be enabled for the units of measurement for incoming files to be defined.

Release information

Added to Imagenation for Windows in Release 6.2.

Not supported in Imagenation for UNIX.

See also

Scaling CAD documents