THPDFPage.AddPopupAnnotationFor

THPDFPage

 

Méthodes  Suivant  Prise en charge des filtres PDF

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

 

Syntaxe Delphi :

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

 

Syntaxe C++ :

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

 

Description

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.

 

Passer nil pour ParentAnnot conserve l’ancien comportement de popup autonome. Le dictionnaire renvoyé peut être personnalisé par les appelants avancés avant l’enregistrement du document

 

Voir aussi: LastAnnotation, SetAnnotationBorderStyle, Prise en charge des filtres PDF