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

    This function allows you to add redaction mark into the current mouse selected text.

    RedactSelectedText: 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 "#000000" (black).

    Return Value

    1 if error, 0 if success.