THPDFPage.AddPopupAnnotationFor

THPDFPage

 

方法  下一頁  PDF 篩選器支援

Creates a Popup annotation linked to a specific parent markup annotation.

 

Delphi 語法:

ParentAnnot 傳入 nil 會保留較舊的 standalone popup behavior。進階呼叫端可在檔案儲存前自訂傳回的 dictionary

 

C++ 語法:

THPDFDictionaryObject* __fastcall AddPopupAnnotationFor(THPDFDictionaryObject *ParentAnnot, const System::Types::TRect &Rectangle, bool Open);

 

說明

AddPopupAnnotationFor writes a /Popup annotation and links it in both directions: the popup receives /Parent and the parent annotation receives /Popup. Use LastAnnotation after an Add*Annotation call when the parent annotation procedure does not directly return its widget dictionary.

 

將 nil 傳給 ParentAnnot 可保留舊版 standalone popup 行為。進階呼叫端可在儲存檔案前自訂傳回的 dictionary

 

請參閱: LastAnnotation, SetAnnotationBorderStyle, PDF 篩選器支援