DANewPages

直接访问功能、页面操作

描述

在文档末尾添加指定数量的新页面。所有新页面的标准大小均为 612x792 点

语法

Delphi

Function TPDFlib.DANewPages(FileHandle, PageCount: Integer): Integer;

ActiveX

Function PDFlib::DANewPages(FileHandle As Long, PageCount As Long) As Long

DLL

int DLDANewPages(int InstanceID, int FileHandle, int PageCount);

参数

FileHandle由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函数返回的句柄
PageCount要添加到文档的页数

返回值

0指定的 FileHandle 无效
Non-zero添加新页面后文档中的总页数