DrawRotatedCapturedPage
Page layout, Page manipulation
Description
Similar to the DrawCapturedPage function, but allows the captured page to be drawn at any angle. Note that the anchor point is the bottom-left corner, not the top-left corner as with the DrawCapturedPage function.
Syntax
Delphi
function TDebenuPDFLibrary1811.DrawRotatedCapturedPage(CaptureID: Integer; Left,
Bottom, Width, Height, Angle: Double): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::DrawRotatedCapturedPage(CaptureID As Long,
Left As Double, Bottom As Double, Width As Double, Height As Double,
Angle As Double) As Long
DLL
int DPLDrawRotatedCapturedPage(int InstanceID, int CaptureID, double Left,
double Bottom, double Width, double Height, double Angle)
Parameters
CaptureID | The ID returned by the CapturePage function |
Left | The horizontal co-ordinate of the anchor point |
Bottom | The vertical co-ordinate of the anchor point |
Width | The width of the rectangle to place the captured page in |
Height | The height of the rectangle to place the captured page in |
Angle | The angle to rotate the captured page by, measured anti-clockwise in degrees from the baseline |
Return values
0 | The CaptureID was not valid |
1 | The captured page was drawn successfully |