Skip to main content

TdxPDFViewerSelection.SelectAll Method

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

Declaration

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