DAPageRotation
Funkcje dostępu bezpośredniego, Właściwości strony
Opis
Zwraca obrót wskazanej strony
Składnia
Delphi
Function TPDFlib.DAPageRotation(FileHandle, PageRef: Integer): Integer;
ActiveX
Function PDFlib::DAPageRotation(FileHandle As Long, PageRef As Long) As Long
DLL
int DLDAPageRotation(int InstanceID, int FileHandle, int PageRef);
Parametry
| FileHandle | Uchwyt zwrócony przez funkcję DAOpenFile, DAOpenFileReadOnly lub DAOpenFromStream |
|---|---|
| PageRef | Odwołanie do strony zwrócone przez funkcję DAFindPage lub DANewPage |
Wartości zwracane
Zwraca obrót strony w stopniach (0, 90, 180 lub 270). Zwraca 0, gdy uchwyt pliku lub odwołanie do strony są nieprawidłowe.