THPDFPage.SetAnnotationAdditionalAction Method
THPDFActionBuilder تحت /AA الخاصة بالتعليق التوضيحيملخص الطريقة: THPDFPage.SetAnnotationAdditionalAction Method
التصريح
procedure SetAnnotationAdditionalAction(Annot: THPDFDictionaryObject; Trigger: THPDFAnnotationActionTrigger; Action: THPDFActionBuilder);
وحدة
HPDFDoc
المعاملات
| الاسم | الغرض |
|---|---|
Annot | Annotation dictionary returned by the most recent annotation creation call or another annotation lookup |
Trigger | Additional-action trigger, such as mouse enter, mouse exit, mouse down, mouse up, set focus, or lost focus |
Action | Action chain built with THPDFActionBuilder |
ملاحظات الاستخدام
/AAدون تغيير- استخدم
ClearAnnotationAdditionalActionلإزالة مدخل إجراء إضافي واحد للتعليق التوضيحي دون إعادة بناء قاموس التعليق - تحافظ سلاسل
THPDFActionBuilder.ThenActionعلى تماسكها تحت مدخل/Nextالصادر - تستخدم محفزات الفأرة وتركيز الإدخال القيم
/Eو/Xو/Dو/Uو/Foو/Bl - تستخدم محفزات فتح الصفحة وإغلاقها وظهورها واختفائها القيم
/POو/PCو/PVو/PIThe method replaces any existing action for the same trigger key and keeps other /AA entries unchanged - Use ClearAnnotationAdditionalAction to remove one annotation additional-action entry without rebuilding the annotation dictionary
- THPDFActionBuilder.ThenAction chains are preserved under the emitted /Next entry
SetAnnotationJavaScriptActionUse SetAnnotationJavaScriptAction for the JavaScript-only convenience path
Related API
- THPDFActionBuilderClass
- THPDFPageSetAnnotationActionMethod
- THPDFPageClearAnnotationAdditionalActionMethod
- THPDFPageSetAnnotationJavaScriptActionMethod