Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxPDFCustomViewer.OnSelectionChanged Event

In This Article

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