TdxPDFViewerOnAttachmentActionEvent Type
The procedural type for attachment action events.
Declaration
TdxPDFViewerOnAttachmentActionEvent = procedure(Sender: TdxPDFCustomViewer; AAttachment: TdxPDFFileAttachment; var AHandled: Boolean) of object;
Parameters
| Name | Type | Description |
|---|---|---|
| Sender | TdxPDFCustomViewer | Provides access to the PDF Viewer control that raised the attachment action event. Cast the |
| AAttachment | TdxPDFFileAttachment | Provides access to the target attachment. Use this parameter to identify specific document attachments. |
| AHandled | Boolean |
|
Remarks
An attachment action event occurs every time a user triggers an attachment open or save command.
Direct TdxPDFViewerOnAttachmentActionEvent Type References
The following events reference the TdxPDFViewerOnAttachmentActionEvent procedural type:
- TdxPDFCustomViewer.OnAttachmentOpen
- Enables you to respond to an attempt to open a file attached to the opened PDF document.
- TdxPDFCustomViewer.OnAttachmentSave
- Allows you to prevent users from saving certain PDF document attachments.
See Also