DrawCapturedPageMatrix

Raspored stranice

Opis

Funkcija crta stranicu ranije zarobljenu funkcijom CapturePage na trenutnu stranicu. Veličina/pozicija/rotacija određuju se transformacionom matricom, što omogućava naprednu impoziciju stranica

Funkcijom CapturePage ne možete pomerati stranice iz jednog dokumenta u drugi, pa sve potrebne stranice moraju prvo biti spojene u jedan dokument pre poziva CapturePage. CaptureID je samo pokazivač na skrivenu stranicu, pa ga ne treba oslobađati

Sintaksa

Delphi

Function TPDFlib.DrawCapturedPageMatrix(CaptureID: Integer; M11, M12, M21, M22, MDX, MDY: Double): Integer;

ActiveX

Function PDFlib::DrawCapturedPageMatrix(CaptureID As Long, M11 As Double, M12 As Double, M21 As Double, M22 As Double, MDX As Double, MDY As Double) As Long

DLL

int DLDrawCapturedPageMatrix(int InstanceID, int CaptureID, double M11, double M12, double M21, double M22, double MDX, double MDY);

Parametri

CaptureIDID koji je vratio CapturePage kad je stranica ranije bila zarobljena Komponenta matrice
M11
M12Matrix component
M21Matrix component
M22Matrix component
MDXMatrix component
MDYMatrix component

Povratne vrednosti

0Naveden je neispravan CaptureID
1Zarobljena stranica je uspešno nacrtana