PDFium Delphi Component Docs

StructureElements property

Component: TPdfView  ·  Unit: PDFium
Returns the shared cached structure snapshot for the viewer's current page

Syntax

property StructureElements: TPdfStructureElements;

Description

Reads Pdf.StructureElementsForPage[PageNumber] so a view whose page differs from TPdf.PageNumber receives the correct snapshot

Multiple views, readable-content extraction, reflow, and validation reuse the same revision-aware page cache

The returned array is caller-owned and can be retained or modified without affecting the cache or document

Remarks

Example

if PdfView1.Active then
  Memo1.Lines.Add('StructureElements = ' + VarToStr(PdfView1.StructureElements));

See Also

StructureElements, Structure traversal and cache, Pdf