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

TdxPDFViewerSelection.SelectAll Method

In This Article

Selects all the text in a document displayed by the PDF Viewer.

#Declaration

Delphi
procedure SelectAll;

#Remarks

Call this procedure to select all the text on all available pages of the loaded PDF document. Then, you can copy the resulting selection to the clipboard by calling the CopyToClipboard procedure.

Select All

End-users can select all the text in the viewable portion of the loaded document by pressing the Ctrl+A key combination or clicking the Select All item in the PDF Viewer’s context menu:

Context Menu

You can also provide an additional end-user option for selecting all the text in the displayed PDF document by linking the SelectAll command to an element of your UI. For detailed information on document content selection management, refer to the following topic: How to Select and Copy the PDF Document’s Content.

See Also