DAPageRotation
Direct access functionality, Page properties
Description
Returns the rotation of the specified page.
Syntax
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);
Parameters
| FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
|---|---|
| PageRef | A page reference returned by the DAFindPage or DANewPage functions |
Return values
Returns the rotation of the page in degrees (0, 90, 180 or 270). Returns 0 when the file handle or page reference is invalid.