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 Method (DocuViewareControl)

In This Topic
Adds a custom snap-in to the control.
Syntax
'Declaration
 
Public Sub AddCustomSnapIn( _
   ByVal Name As String, _
   ByVal Label As String, _
   ByVal Icon As String, _
   ByVal SnapIn As String, _
   ByVal Visible As Boolean, _
   ByVal OnSelection As String _
) 
public void AddCustomSnapIn( 
   string Name,
   string Label,
   string Icon,
   string 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