Quick PDF logo

SetImageResolution

Image handling

Version history

This function was introduced in Quick PDF Library version 7.22.

Description

Sets the horizontal and vertical resolution of the selected image as well as the resolution units. These values are used by the FitImage function.

Syntax

Delphi

function TQuickPDF0815.SetImageResolution(Horizontal, Vertical, 
  Units: Integer): Integer;

ActiveX

Function QuickPDF0815.PDFLibrary::SetImageResolution(Horizontal As Long,
  Vertical As Long, Units As Long) As Long

DLL

int QuickPDFSetImageResolution(int InstanceID, int Horizontal, int Vertical,
  int Units)

Parameters

Horizontal The new horizontal resolution of the image
Vertical The new vertical resolution of the image
Units 0 = Unknown
1 = No units, values specify the aspect ratio
2 = Dots per inch (DPI)
3 = Dots per centimetre (DPCM)

Return values

0 No image was selected
1 The resolution of the image was set successfully

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum