2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / AxisScrollBar.ScaleMenuItemCollection Class / Add Method / Add(Double,String) Method
The scale of the scroll bar.
The text of menu item.

In This Topic
    Add(Double,String) Method
    In This Topic
    Adds an AxisScrollBar.ScaleMenuItem to the collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal scale As System.Double, _
       ByVal text As System.String _
    ) As System.Integer
    public System.int Add( 
       System.double scale,
       System.string text
    )

    Parameters

    scale
    The scale of the scroll bar.
    text
    The text of menu item.

    Return Value

    The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.
    See Also