### QPx_GetImporterImageSize

QPx_GetImporterImageSize(importerRef; imageWidth; imageHeight):error
| importerRef | Longint | Reference to a graphics importer instance
| imageWidth | Longint | Image width
| imageHeight | Longint | Image height
| error | Longint | Error result

Returns the dimensions of the image associated with a graphics importer instance.

The graphics importer instance is specified by importerRef. If importerRef does not refer to an existing graphics importer instance, the qpx_paramErr error code is returned.

The image dimensions are returned in imageWidth and imageHeight.

Example

``Get image size` `` `C_LONGINT($error)` `C_LONGINT($width;$height)` `` `C_LONGINT(gQPixImporter)` `` `$error:=QPx_GetImporterImageSize (gQPixImporter;$width;$height)` `` `If ($error#qpx_noErr)` ``Handle the error` `End if`

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:44:52