AddDocumentPart

文件部分、可變資料、PDF 2.0

描述

在既有的階層部分之下加入子文件部分

語法

Delphi

Function TPDFlib.AddDocumentPart(ParentPartID, StartPage, EndPage: Integer): Integer;

DLL

int DLAddDocumentPart(int InstanceID, int ParentPartID, int StartPage, int EndPage);

ActiveX

Function PDFlib::AddDocumentPart(ParentPartID As Long, StartPage As Long, EndPage As Long) As Long

參數

ParentPartID此階層傳回的根或內部部分識別碼
StartPage, EndPage含端點的以 1 起算葉節點範圍;0 與 0 表示建立內部部分

傳回值

成功傳回正數的子部分識別碼;輸入無效時傳回 0

備註

葉節點的範圍不得與已指派給其他葉節點的頁面重疊,葉節點部分也不能再擁有子節點

子項以有界區塊儲存,超大記錄批次不需要單一巨大的 PDF 陣列

另請參閱

SetDocumentPartPageRange, SetDocumentPartMetadata