Reference Guide
GdPicture14.WEB Namespace / DocuVieware Class / AddCustomSnapIn Method / AddCustomSnapIn(String,String,HtmlControl,HtmlControl,Boolean,String) Method
Specifies the snap-in name. It is suggested to provide an unique name.
Specifies the text that will be used as label. Can be an empty string.
An HtmlControl object that represents the snap-in icon.
An HtmlControl object that represents the snap-in object.
A boolean specifying if the snap-in is visible at the initialization.
A string representing the the JavaScript code to execute on the snap-in selection. Can be an empty string.

In This Topic
    AddCustomSnapIn(String,String,HtmlControl,HtmlControl,Boolean,String) Method
    In This Topic
    Adds a custom snap-in to the control.
    Syntax
    'Declaration
     
    
    Public Overloads Sub AddCustomSnapIn( _
       ByVal Name As String, _
       ByVal Label As String, _
       ByVal Icon As HtmlControl, _
       ByVal SnapIn As HtmlControl, _
       ByVal Visible As Boolean, _
       ByVal OnSelection As String _
    ) 
    public void AddCustomSnapIn( 
       string Name,
       string Label,
       HtmlControl Icon,
       HtmlControl SnapIn,
       bool Visible,
       string OnSelection
    )

    Parameters

    Name
    Specifies the snap-in name. It is suggested to provide an unique name.
    Label
    Specifies the text that will be used as label. Can be an empty string.
    Icon
    An HtmlControl object that represents the snap-in icon.
    SnapIn
    An HtmlControl object that represents the snap-in object.
    Visible
    A boolean specifying if the snap-in is visible at the initialization.
    OnSelection
    A string representing the the JavaScript code to execute on the snap-in selection. Can be an empty string.
    See Also