รีเคิร์ด THPDFStructuredExportOptions
THPDFStructuredExportOptions = record
IncludeCoordinates: boolean;
IncludeStyles: boolean;
IncludeImages: boolean;
IncludeTables: boolean;
IncludeAccessibilitySemantics: boolean;
PreferTaggedStructure: boolean;
FallbackToGeometricSemantics: boolean;
IncludeNavigation: boolean;
IncludeAnnotations: boolean;
IncludeFormControls: boolean;
ImageMode: THPDFStructuredImageMode;
MaxPageCount: Integer;
MaxGlyphsPerPage: Integer;
MaxImagesPerPage: Integer;
MaxStructureNodes: Integer;
MaxOutlineItems: Integer;
MaxInteractionsPerPage: Integer;
MaxFormOptionsPerField: Integer;
MaxOutputBytes: Int64;
MaxImageBytes: Int64;
MaxTotalImageBytes: Int64;
CancellationToken: THPDFCancellationToken;
class function Default: THPDFStructuredExportOptions; static;
class function Legacy: THPDFStructuredExportOptions; static;
end;
Default เปิด coordinates, styles, ตาราง, รูป PNG ฝังตัว, semantics แบบ tagged สำหรับ accessibility, geometric fallback, navigation, annotation และ form control โดยมีงบประมาณจำกัดทั้งด้านหน้า, glyph, รูป, structure, outline, interaction, form option และ byte
PreferTaggedStructure ใช้ structure tree ของ PDF กับลำดับ marked-content เมื่อมีให้ใช้ ส่วน FallbackToGeometricSemantics ยอมให้ใช้ลำดับการอ่านเชิงเรขาคณิตเฉพาะเมื่อไม่มี tagged projection ที่ใช้ได้
MaxStructureNodes จำกัดการ visit structure tree แบบสะสมตลอดทุกหน้าที่เลือก รวม node ที่ตัดออกจาก projection สุดท้ายและ source ของเนื้อหา Form แบบ recursive
Legacy คงพฤติกรรมเดิมแบบเรขาคณิตสำหรับ text, ตารางและรูปภาพ โดยไม่มี accessibility structure, navigation, annotation หรือ form control
cancellation token ที่ส่งเข้ามาจะ override token ของ document operation เฉพาะการเรียกนี้