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 TPDFlib.DrawScaledImage(Left, Top, Scale: Double): Integer;

ActiveX

Function PDFlib::DrawScaledImage(Left As Double, Top As Double, Scale As Double) As Long

DLL

int DLDrawScaledImage(int InstanceID, double Left, double Top, double Scale);

Parameters

LeftHorizontal co-ordinate of the left edge of the image
TopVertical co-ordinate of the top edge of the image
ScaleThe scale to use, for example: 0.5 = 50% 1 = 100%

Return values

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