PDFium Delphi Component Docs

DestinationByName プロパティ

コンポーネント: TPdf  ·  ユニット: PDFium
string name で /Names destination を検索し、その target page / fit-type / coordinates を返します

構文

property DestinationByName[const Name: WString]: TDestination; // read only

説明

string name をキーに /Names destination を検索し、その target page / fit-type / 座標を返します

名前が /Dests ツリーに存在しない場合は Page = -1 を返します

対応する PDFium API をラップして TPdf インスタンスのメンバーとして公開するため、利用者側で FPDF_DOCUMENT ハンドルを直接管理する必要はありません

備考

例

if Pdf1.Active then
  Dest := Pdf1.DestinationByName['Chapter1'];

関連項目

Destination, DestinationCount