AddDocumentPart

Document parts, variable data, PDF 2.0

תיאור

Adds a child document part beneath an existing hierarchy part

תחביר

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

פרמטרים

ParentPartIDRoot or internal part identifier returned by this hierarchy
StartPage, EndPageInclusive one-based leaf range, or 0 and 0 to create an internal part

ערכי החזרה

מחזיר את מזהה חלק הבן החיובי בהצלחה, או 0 עבור קלט לא תקף

הערות

A leaf range cannot overlap pages already assigned to another leaf, and leaf parts cannot receive children

Children are stored in bounded blocks so very large record batches do not require one monolithic PDF array

ראה גם

SetDocumentPartPageRange, SetDocumentPartMetadata