DAGetPageWidth

直接访问功能、页面属性

描述

返回通过 DAOpenFile 函数打开的文档中指定页面的宽度

语法

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);

参数

FileHandle由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函数返回的句柄
PageRefDAFindPage 或 DANewPage 函数返回的页面引用