QPx_SetPictureResolution(pictVar; pictVar; pictVar):error
pictVar Picture Picture variable
hRes Longint Horizontal resolution
vRes Longint Vertical resolution
error Longint Error result

Change the horizontal and/or vertical resolution of a picture variable

The source picture is passed in the pictVar parameter. The source picture may be compressed or uncompressed. The modified picture is also returned in the pictVar parameter and it is always uncompressed. If an error occurs, pictVar is set to an empty picture.

The horizontal and vertical resolutions are specified by the hRes and vRes parameters respectively.


   // Set picture res to 300 dpi



$error:=QPx_SetPictureResolution ($picture;$horzRes;$vertRes)

If ($error#qpx_noErr)
      // Handle the error
End if