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