THPDFPage.AddPopupAnnotationFor

THPDFPage

 

Métodos  Siguiente  Soporte de filtros PDF

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

 

Sintaxis Delphi:

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

 

Sintaxis C++:

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

 

Descripción

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.

 

Pasar nil para ParentAnnot conserva el comportamiento anterior de popup independiente. Los llamadores avanzados pueden personalizar el diccionario devuelto antes de guardar el documento

 

Véase también: LastAnnotation, SetAnnotationBorderStyle, Soporte de filtros PDF