### QPx_GetImporterFrameType

QPx_GetImporterFrameType(importerRef; frameIndex; frameType):error
| importerRef | Longint | Graphics importer reference
| frameIndex | Longint | Frame index
| frameType | Longint | Frame type
| error | Longint | Error result

Returns the type of a frame in a multi-frame image.

The graphics importer instance is specified by importerRef. If importerRef is not a reference to a valid graphics importer instance, error qpx_paramErr is returned.

Parameter frameIndex specifies the number of the image frame for which to return information. The frame index ranges from 1 to the total number of frames in the image.

Parameter frameType receives a number that describes the type of the frame. The type of a frame can be a bitwise "or" combinatation of the following constants:

qpx_FrameIsThumbnail | 0x0001 | Frame is an embedded thumbnail
qpx_FrameIsLayer | 0x0002 | Frame is a layer in a multi-layer image
qpx_FrameIsPage | 0x0004 | Frame is a page in a multi-page image
qpx_FrameIsMultiRes | 0x0008 | Frame is a resolution in a multi-res image

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:45:10