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 TPDFlib.DrawRotatedCapturedPage(CaptureID: Integer; Left, Bottom, Width, Height, Angle: Double): Integer;

ActiveX

Function PDFlib::DrawRotatedCapturedPage(CaptureID As Long, Left As Double, Bottom As Double, Width As Double, Height As Double, Angle As Double) As Long

DLL

int DLDrawRotatedCapturedPage(int InstanceID, int CaptureID, double Left, double Bottom, double Width, double Height, double Angle);

Parameters

CaptureIDThe ID returned by the CapturePage function The horizontal co-ordinate of the anchor point
Left
BottomThe vertical co-ordinate of the anchor point
WidthThe width of the rectangle to place the captured page in
HeightThe height of the rectangle to place the captured page in
AngleThe angle to rotate the captured page by, measured anti-clockwise in degrees from the baseline

Return values

0The CaptureID was not valid
1The captured page was drawn successfully