DrawScaledImage
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 TDebenuPDFLibrary1811.DrawScaledImage(Left, Top, Scale: Double): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::DrawScaledImage(Left As Double,
Top As Double, Scale As Double) As Long
DLL
int DPLDrawScaledImage(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 |