THPDFPage.AddPopupAnnotationFor

THPDFPage

 

Metodi  Successivo  Supporto dei filtri PDF

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

 

Sintassi Delphi:

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

 

Sintassi C++:

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

 

Descrizione

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.

 

Passare nil per ParentAnnot preserva il precedente comportamento popup autonomo. Il dizionario restituito può essere personalizzato dai chiamanti avanzati prima del salvataggio del documento

 

Vedi anche: LastAnnotation, SetAnnotationBorderStyle, Supporto dei filtri PDF