[]
        
(Showing Draft Content)

C1.Win.C1Chart.AxisScrollBar.ScaleMenuItemCollection.Add

Add Method

Add(double, string)

Adds an AxisScrollBar.ScaleMenuItem to the collection.

Declaration
public int Add(double scale, string text)
Parameters
Type Name Description
double scale

The scale of the scroll bar.

string text

The text of menu item.

Returns
Type Description
int

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

Add(ScaleMenuItem)

Adds an AxisScrollBar.ScaleMenuItem to the collection.

Declaration
public int Add(AxisScrollBar.ScaleMenuItem smi)
Parameters
Type Name Description
AxisScrollBar.ScaleMenuItem smi

The AxisScrollBar.ScaleMenuItem object to add to the collection.

Returns
Type Description
int

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