Skip to main content

TdxPDFViewerSelection.AsText Method

Returns the PDF document selection as a Unicode text string.

Declaration

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