DAGetPageWidth
Chức năng truy cập trực tiếp, Thuộc tính trang
Mô tả
Trả về chiều rộng của trang chỉ định trong một tài liệu được mở bằng hàm DAOpenFile
Cú pháp
Delphi
Function TPDFlib.DAGetPageWidth(FileHandle, PageRef: Integer): Double;
ActiveX
Function PDFlib::DAGetPageWidth(FileHandle As Long, PageRef As Long) As Double
DLL
double DLDAGetPageWidth(int InstanceID, int FileHandle, int PageRef);
Tham số
| FileHandle | Handle được trả về bởi các hàm DAOpenFile, DAOpenFileReadOnly hoặc DAOpenFromStream |
|---|---|
| PageRef | Page reference do các hàm DAFindPage hoặc DANewPage trả về |