Partager via


TextStyles.Item Method (PowerPoint)

Returns a single text style from the specified TextStyles collection.

Syntax

expression .Item(Type)

expression A variable that represents a TextStyles object.

Parameters

Name

Required/Optional

Data Type

Description

Type

Required

PpTextStyleType

The text style type.

Return Value

TextStyle

Remarks

The Item method is the default member for a collection. For example, the following two lines of code are equivalent:

ActivePresentation.Slides.Item(1)

ActivePresentation.Slides(1)

The Type parameter value can be one of these PpTextStyleType constants.

ppBodyStyle

ppDefaultStyle

ppTitleStyle

See Also

Concepts

TextStyles Object Members

TextStyles Object