You have many options for requesting file format information which you can then use to assign file formats to documents.
Tip: Pages and layers in multipage and multilayer documents
|
To request |
Use |
|
The format identifier of a document, page, or layer |
|
|
The format identifier for the data in the given file |
|
|
The name of a file format, given its identifier |
|
|
The extension of a file format, given its identifier |
|
|
The valid file formats in your edition of Imagenation for rasters, vectors, or multipages |
|
|
The type of layer, raster or edit, given its identifier |
For a list of available file formats, click File Formats.
To select a default format for bilevel raster layers or edit layers:
· Use the IN_SetDefaultLayerFormat function.
To set the file format of a document, page, or layer:
· Use the IN_SetFileFormat function. Specify a document ID, page ID, or layer ID as the objectID.
The ReadOnlyMods flag controls whether the user can activate and change a layer that contains a file format that Imagenation does not write.
To request and set the read-only flag:
· Use the IN_GetReadOnlyModsFlag and the IN_SetReadOnlyModsFlag functions.
To define the scale settings when loading CAD files:
· Use the IN_SetFormatInputScaleFactor and the IN_SetFormatInputScaleToFit functions.
To request the scale settings defined for CAD files:
· Use the IN_GetFormatInputScaleFactor and the IN_GetFormatInputScaleToFit functions.
See also