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

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

    StrikeoutSelectedText: function (docuViewareID[, color])

    Parameters

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

    Return Value

    1 if error, 0 if success.