DAPageRotation
直接存取功能、頁面屬性
描述
傳回指定頁面的旋轉角度
語法
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);
參數
| FileHandle | 由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函式傳回的控制代碼 |
|---|---|
| PageRef | 由 DAFindPage 或 DANewPage 函式傳回的頁面參照 |
傳回值
傳回頁面旋轉角度(0、90、180 或 270 度)。檔案控制代碼或頁面參照無效時傳回 0。