PDFium Component Docs

Bookmarks Eigenschap

Component: TPdf  ·  Unit: PDFium
Geeft de documentoutline terug als een array van TBookmark-momentopnames

Syntax

property Bookmarks: TBookmarks; // read only

Description

Deze alleen-lezen eigenschap geeft de documentoutline terug als een array van TBookmark-momentopnames

Elk record bevat de directe Destination, het actietype, de actiebestemming of URI/bestandspad, de een-gebaseerde doelpagina, de openstaat, het aantal afstammelingen en eventueel de bladwijzerkleur

Vereist dat Active True is; gebruik BookmarkChildren om de directe children van één node op te sommen

Remarks

Example

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

See Also

BookmarkChildren, HasBookmarkChildren