[]
Adds an AxisScrollBar.ScaleMenuItem to the collection.
public int Add(double scale, string text)
| Type | Name | Description |
|---|---|---|
| double | scale | The scale of the scroll bar. |
| string | text | The text of menu item. |
| 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. |
Adds an AxisScrollBar.ScaleMenuItem to the collection.
public int Add(AxisScrollBar.ScaleMenuItem smi)
| Type | Name | Description |
|---|---|---|
| AxisScrollBar.ScaleMenuItem | smi | The AxisScrollBar.ScaleMenuItem object to add to the collection. |
| 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. |