DADrawRotatedCapturedPage

Funkcije izravnog pristupa, raspored stranice

Opis

Slično funkciji DADrawCapturedPage, ali dopušta crtanje zarobljene stranice pod bilo kojim kutom

Sintaksa

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

DLL

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

Parametri

FileHandleRučka koju vraćaju funkcije DAOpenFile, DAOpenFileReadOnly ili DAOpenFromStream
DACaptureIDCapture ID koji vraća funkcija DACapturePage
DestPageRefReferenca stranice koju vraćaju funkcije DAFindPage ili DANewPage Vodoravna koordinata lijevog ruba odredišnog pravokutnika, mjerena u točkama od lijevog ruba stranice
PntLeft
PntBottomOkomita koordinata donjeg ruba odredišnog pravokutnika, mjerena u točkama od donjeg ruba stranice
PntWidthŠirina odredišnog pravokutnika, mjerena u točkama Visina odredišnog pravokutnika, mjerena u točkama
PntHeight
AngleKut za rotaciju uhvaćene stranice, mjeren suprotno od smjera kazaljke na satu u stupnjevima od osnovne crte

Povratne vrijednosti

0Navedeni FileHandle, PageRef ili DACaptureID nisu bili valjani
1Zarobljena stranica uspješno je nacrtana double PntBottom, double PntWidth, double PntHeight, double Angle);