ClonePages

页面操作

描述

从文档复制页面多次,文件大小仅会略微增加。请注意,仅克隆页面的第一 "层"。除非您确实想要获取页面的一部分,否则应在调用此函数前,对所有要克隆的页面调用 CombineContentStreams

语法

Delphi

Function TPDFlib.ClonePages(StartPage, EndPage, RepeatCount: Integer): Integer;

ActiveX

Function PDFlib::ClonePages(StartPage As Long, EndPage As Long, RepeatCount As Long) As Long

DLL

int DLClonePages(int InstanceID, int StartPage, int EndPage, int RepeatCount);

参数

StartPage要克隆的第一页 要克隆的最后一页
EndPage
RepeatCount克隆页面的次数

返回值

0参数超出范围
1函数执行成功