THPDFPage.AddPopupAnnotationFor – metoda

THPDFPage

 

Metody  Další  PDF Filter Support

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);

 

Popis

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.

 

Předání nil pro ParentAnnot zachová starší samostatné chování popup. Vrácený slovník mohou pokročilí volající před uložením dokumentu upravit

 

Viz také: LastAnnotation, SetAnnotationBorderStyle, PDF Filter Support