QPix Command Reference Graphics Importers |

### 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 Information Services
Generated by QDoc 2.6 on Thu, 2 May 2002 00:50:03 +0300