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;
Available since v3.289.0, updated 2026-11-02
| Field | Contract |
|---|---|
| Data | Decoded top-level page content sequence with separator bytes between source streams |
| Objects | Native object order, corresponding paint-operation byte range and FPDF_PAGEOBJ_* Kind; no native handles |
| Marks.ObjectIndex | Boundary before the next native object, with Length(Objects) denoting the final boundary |
| Marks.FirstByte / AfterByte | Zero-based inclusive/exclusive original marked-operation byte range, including its operands |
| Marks.Opens / MatchingMark | Begin/end sequence pairing by mark-array index; point marks use MatchingMark=-1 |
| Marks.Name | Original PDF name token including its slash on begin and point marks; empty on EMC |
| Marks.Properties | Resolved direct property dictionary for BDC/DP, or an empty string for BMC/MP and EMC |
ReadPageContentSemanticFrame returns independent managed arrays. The frame is mutable parsing metadata, whilst source freshness, native reproduction and transactional publication remain the responsibility of the editing workflow
Non-painting marked sequences retain their own occurrences at real object boundaries. A zero-width native object still occupies its native slot; an empty Form call occupies a real Form slot even when it has no children