THPDFAnnotationJavaScriptTrigger Type

Chọn sự kiện trigger /AA kích hoạt một hành động JavaScript gắn vào một annotation (PDF 1.7 ISO 32000-1 12.6.3)

Khai báo

THPDFAnnotationJavaScriptTrigger= (ajtMouseEnter, // /AA /E
  ajtMouseExit, // /AA /X
  ajtMouseDown, // /AA /D
  ajtMouseUp, // /AA /U
  ajtSetFocus, // /AA /Fo
  ajtLostFocus, // /AA /Bl
  ajtPageOpen, // /AA /PO
  ajtPageClose, // /AA /PC
  ajtPageVisible, // /AA /PV
  ajtPageInvisible); // /AA /PI

Đơn vị

HPDFDoc

Giá trị

Giá trịÝ nghĩa
ajtMouseEnter/AA /E: script chạy khi con trỏ vào trong hình chữ nhật của annotation
ajtMouseExit/AA /X: script chạy khi con trỏ rời khỏi hình chữ nhật của annotation
ajtMouseDown/AA /D: script chạy khi một nút chuột được nhấn trên annotation
ajtMouseUp/AA /U: script chạy khi một nút chuột được thả trên annotation
ajtSetFocus/AA /Fo: script chạy khi annotation nhận focus nhập liệu
ajtLostFocus/AA /Bl: script chạy khi annotation mất focus nhập liệu
ajtPageOpen/AA /PO: script chạy khi trang chứa annotation được mở
ajtPageClose/AA /PC: script chạy khi trang chứa annotation được đóng
ajtPageVisible/AA /PV: script chạy khi trang chứa annotation trở nên hiển thị
ajtPageInvisible/AA /PI: script chạy khi trang chứa annotation trở nên ẩn

Ghi chú sử dụng

API liên quan