In This Topic
Reference Guides / JavaScript API / Actions / Document / UnderlineSelectedText

UnderlineSelectedText

In This Topic
 UnderlineSelectedText

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

UnderlineSelectedText: function (docuViewareID[, color])

Parameters

docuViewareID
The identifier for the DocuVieware™ instance you want to underline the selected text from.
color
Optional. An HTML hex color string defining the color, if omitted default is "#FFFF00" (yellow).

Return Value

1 if error, 0 if success.