Quick PDF logo

DrawScaledImage

Image handling, Page layout

Description

Draw the selected image on the page. The image is drawn at the scale specified, assuming 72 DPI for both the horizontal and vertical resolution.

Syntax

Delphi

function TQuickPDF0813.DrawScaledImage(Left, Top, Scale: Double): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::DrawScaledImage(Left As Double, Top As Double,
  Scale As Double) As Long

DLL

int QuickPDFDrawScaledImage(int InstanceID, double Left, double Top, double Scale)

Parameters

Left Horizontal co-ordinate of the left edge of the image
Top Vertical co-ordinate of the top edge of the image
Scale The scale to use, for example:
0.5 = 50%
1 = 100%

Return values

0 An image was not selected
1 The image was drawn successfully

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum