Reference Guide
Reference Guides / JavaScript API / Actions / Document / HighlightSelectedText
In This Topic
    HighlightSelectedText
    In This Topic
     HighlightSelectedText

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

    HighlightSelectedText: function (docuViewareID[, color])

    Parameters

    docuViewareID
    The identifier for the DocuVieware™ instance you want to highlight 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.