Back to Devexpress

TdxPDFCustomViewer.OnSelectionChanged Event

vcl-dxpdfviewer-dot-tdxpdfcustomviewer-5dc00462.md

latest1.3 KB
Original Source

TdxPDFCustomViewer.OnSelectionChanged Event

Enables you to respond to content selection changes in the loaded PDF document.

Declaration

delphi
property OnSelectionChanged: TNotifyEvent read; write;

Remarks

This event is fired in response to:

  • Calling the PDF Viewer’s Selection.Select and Selection.SelectText procedure;

  • Clearing the existing selection by calling the control’s Selection.Clear procedure;

  • Selecting or deselecting an image/rectangular portion of an image by using the mouse;

  • Positioning the caret within the document text and expanding/shrinking the current text selection by using the mouse or corresponding keystrokes.

The Sender parameter specifies the PDF Viewer control that raised this event.

See Also

TdxPDFCustomViewer Class

TdxPDFCustomViewer Members

dxPDFViewer Unit