|
THotPDF.RegisterNamedDestination THotPDF
|
總覽 |
|
在 Catalog /Names /Dests name tree (ISO 32000-1 §12.3.2.3) 中註冊 symbolic destination。GoTo / GoToR actions 與 outline /Dest entries 之後可依 name 參照 destination,而不是硬編碼 page numbers,讓 cross-references 在 page insertion / deletion / reorder 後仍保持穩定 Delphi 語法: procedure RegisterNamedDestination(const Name: AnsiString; PageIndex: Integer; FitMode: THPDFDestinationFitMode = dfmFit; Left, Top, Right, Bottom, Zoom: Single = 0);
Parameters Name 是 unique name-tree key(case-sensitive)。PageIndex 為 0-based,且必須指向已建立的頁面(BeginDoc 會建立 page 0;AddPage 會加入 page N)
Compliance No PDF/A / PDF/X gate – navigation aids are spec-allowed across all conformance profiles. PDF 1.2 minimum; auto-bumps the document Version unless
Example PDF := THotPDF.Create(nil);
Availability HotPDF v2.119.17. |