THPDFPage.AddPopupAnnotationFor

THPDFPage

 

Métodos  Siguiente  Soporte de filtros PDF

Crea una anotación Popup vinculada a una anotación de marcado principal concreta.

 

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 escribe una anotación /Popup y la enlaza en ambos sentidos: el popup recibe /Parent y la anotación principal recibe /Popup. Use LastAnnotation después de una llamada a Add*Annotation cuando el procedimiento de la anotación principal no devuelva directamente su diccionario de widget.

 

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