PDFium Delphi Component Docs

StructureElements Proprietà

Componente: TPdf  ·  Unità: PDFium
Restituisce uno snapshot appiattito della struttura logica per la pagina PDF con tag corrente

Syntax

property StructureElements: TPdfStructureElements; // read only

Description

Richiede che Active sia True e che ci sia un PageNumber corrente valido

Gli elementi vengono restituiti in pre-ordine con valori Level e ParentIndex stabili

L'array restituito è uno snapshot profondo di proprietà del chiamante e modificarlo non cambia la cache condivisa né il PDF

Remarks

Example

var
  Items: TPdfStructureElements;
begin
  if Pdf1.Active then
  begin
    Items := Pdf1.StructureElements;
    Memo1.Lines.Add('count: ' + IntToStr(Length(Items)));
  end;
end;

See Also

IsTagged, Attraversamento e cache della struttura