Back to Devexpress

TdxPDFViewerSelection.AsText Method

vcl-dxpdfviewer-dot-tdxpdfviewerselection-0ded3052.md

latest1.2 KB
Original Source

TdxPDFViewerSelection.AsText Method

Returns the PDF document selection as a Unicode text string.

Declaration

delphi
function AsText: string;

Returns

Type
string

Remarks

Call this function to obtain the currently selected text as a text string. Multiple selected text rows are returned as a single text string delimited with line break characters (i.e., #13#10 in Delphi or \n in C++Builder).

The AsText function returns an empty string if one of the following conditions is met:

See Also

TdxPDFViewerSelection Class

TdxPDFViewerSelection Members

dxPDFViewer Unit