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 LongDLL
int DLDrawScaledImage(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 |