### QPx_GetImporterImageRes

QPx_GetImporterImageRes(importerRef; hRes; vRes):error
| importerRef | Longint | Reference to a graphics importer instance
| hRes | Longint | Horizontal resolution
| vRes | Longint | Vertical resolution
| error | Longint | Error result

Returns the horizontal and vertical resolution 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.

Horizontal resolution is returned in hRes and vertical resolution in vRes.

Example

``Get image resolution` `` `C_LONGINT($error)` `C_LONGINT($hRes;$vRes)` `` `C_LONGINT(gQPixImporter)` `` `$error:=QPx_GetImporterImageRes (gQPixImporter;$hRes;$vRes)` `` `If ($error#qpx_noErr)` ``Handle the error` `End if`

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