Returns the value-label information (labels and values) at the specified index of the valuelabel collection for the object.
Object.GetValueLabel ( lIndex, psLabel, dValue )
The GetValueLabel method syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AAxis |
AAxis object. |
|
lIndex |
Val Long |
An integer specifying the index of the value-label on the object. |
|
sLabel |
Var BString |
A string associated with the value-label at the specified index. |
|
dValue |
Var Double |
The value associated with the value-label at the specified index. |
The value-label at the specified index must exist, or you will get a run-time error.
The following example will get the label and value of the AAxis at the 4th index in the collection into the variables sLabel and dValue:
axs1.GetValueLabel(3,sLabel,dValue)
InsertValueLabel, MovetValueLabel, RemoveValueLabel, SetValueLabel