IN_SetFormatInputScaleToFit

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

The IN_SetFormatInputScaleToFit function defines the default settings for the input Scale To Fit when loading CAD files.

Syntax

int IN_SetFormatInputScaleToFit( formatID, width, length, unit )

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)

DOUBLE width

0 | 1 | 2 | ...

width of the image in the specified units

DOUBLE length

0 | 1 | 2 | ...

length of the image in the specified units

USHORT unit

IN_UNITS_INCH (1)

IN_UNITS_CM (2)

IN_UNITS_FT (4)

IN_UNITS_MM (5)

specified units

Remarks

For the following formats, width, length, and unit become dummy parameters, so their values are ignored:

API_FF_MI

(507)

MI ME10Format (read-only)

API_FF_CADRA

(526)

ADRA CADRA (read-only)

API_FF_AUTOTROL_DX

(67)

DX Auto-trol Raster

API_FF_CGM

(516)

CGM Computer Graphics Metafile Clear Text

API_FF_IGS

(518)

IGS IGES (read-only)

Release information

Added to Imagenation for Windows in Release 6.2.

Not supported in Imagenation for UNIX.

See also

Scaling CAD documents