Debenu Quick PDF logo

DADrawRotatedCapturedPage

Direct access functionality, Page layout

Version history

This function was introduced in Quick PDF Library version 7.23.

Description

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

Syntax

Delphi

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

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::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

DLL

int DPLDADrawRotatedCapturedPage(int InstanceID, int FileHandle, int DACaptureID,
  int DestPageRef, double PntLeft, double PntBottom, double PntWidth,
  double PntHeight, double Angle)

Parameters

FileHandle A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
DACaptureID A capture ID returned by the DACapturePage function
DestPageRef A page reference returned by the DAFindPage or DANewPage functions
PntLeft The horizontal co-ordinate of the left edge of the destination rectangle, measured in points from the left edge of the page
PntBottom The vertical co-ordinate of the bottom edge of the destination rectangle, measured in points from the bottom edge of the page
PntWidth The width of the destination rectangle, measured in points
PntHeight The height of the destination rectangle, measured in points
Angle The angle to rotate the captured page by, measured anti-clockwise in degrees from the baseline

Return values

0 The specified FileHandle, PageRef or DACaptureID were not valid
1 The captured page was drawn successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport