DocuVieware Reference Guide
GetSelectedText
Reference Guides > JavaScript API > Actions > Document > GetSelectedText
 GetSelectedText

This function allows you to retrieve the current mouse selected text.

GetSelectedText: function (docuViewareID)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance you want to retrieve the selected text from.

Return Value

An empty string if error, the mouse selected text if success.