|
THPDFPage.AddPopupAnnotationFor
|
เมธอด ถัดไป PDF Filter Support |
|
Creates a Popup annotation linked to a specific parent markup annotation.
Delphi syntax: function AddPopupAnnotationFor(ParentAnnot: THPDFDictionaryObject; Rectangle: TRect; Open: Boolean = false): THPDFDictionaryObject;
C++ syntax: 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.
การส่ง nil ให้ ParentAnnot จะรักษาพฤติกรรม popup แบบ standalone เดิมไว้ dictionary ที่คืนมาสามารถปรับแต่งโดย callers ขั้นสูงก่อนบันทึกเอกสาร
See also: LastAnnotation, SetAnnotationBorderStyle, PDF Filter Support |