Share via


BalloonLabels Interface 

A collection of BalloonLabel objects that represent all the labels in the Office Assistant balloon.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Usage

Public Class alloonLabelsImplementation
    Implements BalloonLabels
End Class
Dim alloonLabelsImplementation1 As New alloonLabelsImplementation()

Syntax

Public Interface BalloonLabels
    Inherits _IMsoDispObj, IEnumerable
public interface BalloonLabels : _IMsoDispObj, IEnumerable
public interface class BalloonLabels : public _IMsoDispObj, IEnumerable
public interface BalloonLabels implements _IMsoDispObj, IEnumerable
public interface BalloonLabels implements _IMsoDispObj, , IEnumerable

Remarks

Use the Labels property to return the BalloonLabels collection.

Use Labels(index), where index is a number from 1 through 5, to return a BalloonLabel object. You can specify up to five labels (and five check boxes) per balloon; each label appears when a value is assigned to its Text property. If you specify more than five labels, a run-time error occurs.

Balloon check boxes display the user's choices until the user dismisses the balloon. You can use balloon labels to return a number corresponding to the user's choice in the Select method as soon as the user clicks the button beside the label. To pass values to the Select method based on the user's choice, you must have the balloon type set to msoBalloonTypeButtons.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Core Namespace

Other Resources

BalloonLabels Members