Debenu Quick PDF logo


Image handling, Page layout


Similar to the DrawImage function but the image can be rotated at any angle. Note that the anchor point is the bottom left corner of the image, not the top-left as in the DrawImage function.



function TDebenuPDFLibrary1511.DrawRotatedImage(Left, Bottom, Width, Height, 
  Angle: Double): Integer;


Function DebenuPDFLibrary1511.PDFLibrary::DrawRotatedImage(Left As Double,
  Bottom As Double, Width As Double, Height As Double,
  Angle As Double) As Long


int DPLDrawRotatedImage(int InstanceID, double Left, double Bottom, double Width,
  double Height, double Angle)


Left The horizontal co-ordinate of the anchor point
Bottom The vertical co-ordinate of the anchor point
Width The width of the image
Height The height of the image
Angle The angle to rotate the image, measured anti-clockwise in degrees from the baseline, around the anchor point (bottom-left of the image)

Return values

0 No image has been selected
1 The image was drawn successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport