Reference Guide
GdPicture14.WEB Namespace / DocuViewareControl Class / AddCustomToolbarButton Method
Specifies the button name. It is suggested to provide an unique name.
Specifies the text that will be used as title. Can be an empty string.
Specifies the html definition of the button icon.
A string representing the the JavaScript code to execute on the button click.

In This Topic
    AddCustomToolbarButton Method (DocuViewareControl)
    In This Topic
    Adds a custom button to the main toolbar.
    Syntax
    'Declaration
     
    
    Public Sub AddCustomToolbarButton( _
       ByVal Name As String, _
       ByVal Title As String, _
       ByVal Icon As String, _
       ByVal OnClick As String _
    ) 
    public void AddCustomToolbarButton( 
       string Name,
       string Title,
       string Icon,
       string OnClick
    )

    Parameters

    Name
    Specifies the button name. It is suggested to provide an unique name.
    Title
    Specifies the text that will be used as title. Can be an empty string.
    Icon
    Specifies the html definition of the button icon.
    OnClick
    A string representing the the JavaScript code to execute on the button click.
    See Also