TPdfContentSemanticMark = record FirstByte, AfterByte, ObjectIndex, MatchingMark: Integer; Opens: Boolean; Name, Properties: AnsiString; end; TPdfContentObjectBoundary = record FirstByte, AfterByte, Kind: Integer; end; TPdfContentSemanticFrame = record Data: TBytes; Objects: TPdfContentObjectBoundaries; Marks: TPdfContentSemanticMarks; end;
自 v3.289.0 起提供,更新於 2026-11-02
| 欄位 | 約定 |
|---|---|
| Data | 解碼後的頂層頁面內容序列,來源串流之間帶分隔位元組 |
| Objects | 原生物件順序、對應繪製運算的位元組範圍與 FPDF_PAGEOBJ_* Kind;不含原生 handle |
| Marks.ObjectIndex | 下一個原生物件之前的邊界;Length(Objects) 表示最終邊界 |
| Marks.FirstByte / AfterByte | 零起算、含頭不含尾的原始標記運算位元組範圍,包含其運算元 |
| Marks.Opens / MatchingMark | 以標記陣列索引配對 begin/end 序列;點標記的 MatchingMark=-1 |
| Marks.Name | 原始 PDF 名稱 token,begin 與點標記含斜線;EMC 為空 |
| Marks.Properties | BDC/DP 解析後的直接屬性字典;BMC/MP 與 EMC 為空字串 |
ReadPageContentSemanticFrame 回傳獨立的 managed 陣列。框架是可變的解析 metadata;來源新鮮度、原生重現與交易式發佈仍是編輯工作流程的責任
不繪製的標記序列在實際物件邊界保留自身的出現位置。零寬的原生物件仍佔據其原生槽位;空 Form 呼叫即使沒有子系,也佔據一個實際的 Form 槽位