DADrawRotatedCapturedPage

Direct access functionality, Page layout

Description

Similar to the DADrawCapturedPage function but allows the captured page to be drawn at any angle.

Syntax

Delphi

function TPDFlib.DADrawRotatedCapturedPage(FileHandle, DACaptureID, DestPageRef: Integer; PntLeft, PntBottom, PntWidth, PntHeight, Angle: Double): Integer;

ActiveX

Function PDFlib::DADrawRotatedCapturedPage(FileHandle As Long, DACaptureID As Long, DestPageRef As Long, PntLeft As Double, PntBottom As Double, PntWidth As Double, PntHeight As Double, Angle As Double) As Long

Parameters

FileHandleA handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
DACaptureIDA capture ID returned by the DACapturePage function
DestPageRefA page reference returned by the DAFindPage or DANewPage functions The horizontal co-ordinate of the left edge of the destination rectangle, measured in points from the left edge of the page
PntLeft
PntBottomThe vertical co-ordinate of the bottom edge of the destination rectangle, measured in points from the bottom edge of the page
PntWidthThe width of the destination rectangle, measured in points The height of the destination rectangle, measured in points
PntHeight
AngleThe angle to rotate the captured page by, measured anti-clockwise in degrees from the baseline

Return values

0The specified FileHandle, PageRef or DACaptureID were not valid
1The captured page was drawn successfully double PntBottom, double PntWidth, double PntHeight, double Angle);