Selecting file formats

 

You have many options for requesting file format information which you can then use to assign file formats to documents.

image\tips.gif Tip: Pages and layers in multipage and multilayer documents

To request

Use

A list of valid file formats for a particular document type

GetFormatList

The format of a particular document

GetFileType

The format of a particular page

GetPageFileFormat

The format of a particular layer

GetLayerFileFormat

The name of a file format, given its identifier

GetFileTypeName

The extension of a file format, given its identifier

GetFormatExtension

For a list of available file formats, click File Format IDs.

To define the default format for raster or edit layers:

· Use the SetLayerDefaultFormat transaction.

To change the format of a page:

· Use the SetPageFileFormat transaction.

To change the format of a layer:

· Use the SetLayerFileFormat transaction.

The ReadOnlyMods flag controls whether the user can activate and change a layer that is of a file format that Imagenation does not write.

To request and set the read-only flag:

· Use the GetReadOnlyModsFlag and SetReadOnlyModsFlag transactions.

See also