THPDFPage.AddPopupAnnotationFor

THPDFPage

 

메서드  다음  PDF Filter Support

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

 

Delphi 구문:

function AddPopupAnnotationFor(ParentAnnot: THPDFDictionaryObject; Rectangle: TRect; Open: Boolean = false): THPDFDictionaryObject;

 

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.

 

ParentAnnot에 nil을 전달하면 이전 standalone popup behavior가 보존됩니다. 반환된 dictionary는 document가 save되기 전에 advanced caller가 customize할 수 있습니다

 

참조: LastAnnotation, SetAnnotationBorderStyle, PDF Filter Support