THPDFPage.AddPopupAnnotationFor

THPDFPage

 

Métodos  Próximo  PDF Filter Support

Cria uma anotação Popup vinculada a uma anotação de marcação pai específica.

 

Sintaxe Delphi:

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

 

Sintaxe C++:

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

 

Descrição

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.

 

Passar nil para ParentAnnot preserva o comportamento antigo de popup independente. O dicionário retornado pode ser personalizado por chamadores avançados antes de o documento ser salvo

 

Consulte também: LastAnnotation, SetAnnotationBorderStyle, PDF Filter Support