Add Method (CaptionLabels Collection)

Applies To

CaptionLabels collection object.

Description

Adds a custom caption label.

Syntax

expression.Add(Name)

expression Required. An expression that returns a CaptionLabels object.

Name Required String. The name of the custom caption label.

See Also

AutoCaptions property.

Example

This example adds a custom caption label named "Demo Slide."

CaptionLabels.Add Name:="Demo Slide"