DocuVieware Reference Guide
HideSnapIn
Reference Guides > JavaScript API > Actions > Interface > HideSnapIn
 LoadFromByteArray

This function allows you to hide a Snap-In. You can make it visible again afterwards with the ShowSnapIn method.

HideSnapIn: function (docuViewareID, snapInName)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance you want to load the document in.
snapInName
The name of the Snap-In you want to hide, built-in Snap-Ins names are "thumbnails", "bookmarks", "search", "annotations" and "comments".

Return Value

1 if error, 0 if success.
See Also