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

พารามิเตอร์

ParentPartIDตัวระบุส่วนรากหรือส่วนภายในที่ลำดับชั้นนี้คืนมา
StartPage, EndPageช่วงใบไม้แบบรวมปลายโดยนับจาก 1 หรือ 0 กับ 0 เพื่อสร้างส่วนภายใน

ค่าที่ส่งคืน

คืนค่าตัวระบุส่วนลูกแบบบวกเมื่อสำเร็จ หรือ 0 ถ้าอินพุตไม่ถูกต้อง

หมายเหตุ

ช่วงใบไม้ห้ามทับหน้าที่ถูกกำหนดให้ใบไม้อื่นแล้ว และส่วนใบไม้รับลูกไม่ได้

ลูกถูกเก็บเป็นบล็อกจำกัดขนาด ชุดระเบียนใหญ่มากจึงไม่ต้องการอาร์เรย์ PDF ภูตผีเดียว

ดูเพิ่มเติม

SetDocumentPartPageRange, SetDocumentPartMetadata