GetValueLabel Method (AAxis)

Returns the value-label information (labels and values) at the specified index of the valuelabel collection for the object.

Syntax

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.

Comments

The value-label at the specified index must exist, or you will get a run-time error.

Example

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)

Applies to

AAxis

See Also

InsertValueLabel, MovetValueLabel, RemoveValueLabel, SetValueLabel