|
THPDFPage.AddPopupAnnotationFor
|
方法 下一页 PDF 过滤器支持 |
|
Creates a Popup annotation linked to a specific parent markup annotation.
Delphi 语法: function AddPopupAnnotationFor(ParentAnnot: THPDFDictionaryObject; Rectangle: TRect; Open: Boolean = false): THPDFDictionaryObject;
C++ 语法: THPDFDictionaryObject* __fastcall AddPopupAnnotationFor(THPDFDictionaryObject *ParentAnnot, const System::Types::TRect &Rectangle, bool Open);
说明 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.
为 ParentAnnot 传入 nil 会保留旧的 standalone popup 行为。高级调用方可在文档保存前自定义返回的 dictionary
|