Partager via


DataLabels Members (PowerPoint)

A collection of all the DataLabel objects for the specified series.

Methods

Name

Description

Delete

Deletes the object.

Item

Returns a single object from a collection.

Select

Selects the object.

Properties

Name

Description

Application

When used without an object qualifier, returns an Application object that represents the Microsoft PowerPoint application. When used with an object qualifier, returns an Application object that represents the creator of the specified object (you can use this property with an Automation object to return the application of that object). Read-only.

AutoText

True if all objects in the collection automatically generate appropriate text based on context. Read/write Boolean.

Count

Returns the number of objects in the collection. Read-only Long.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

Format

Returns the line, fill, and effect formatting for the object. Read-only ChartFormat.

HorizontalAlignment

Returns or sets the horizontal alignment for the specified object. Read/write Variant.

Name

Returns the name of the object. Read-only String.

NumberFormat

Returns or sets the format code for the object. Read/write String.

NumberFormatLinked

True if the number format is linked to the cells (so that the number format changes in the labels when it changes in the cells). Read/write Boolean.

NumberFormatLocal

Returns or sets the format code for the object as a string in the language of the user. Read/write Variant.

Orientation

Returns or sets the text orientation. Read/write Long.

Parent

Returns the parent for the specified object. Read-only Object.

ReadingOrder

Returns or sets an XlReadingOrder constant that represents the reading order for the specified object. Read/write Long.

Separator

Sets or returns the separator for the data labels on a chart. Read/write Variant.

Shadow

Returns or sets a value that indicates whether the object has a shadow. Read/write Boolean.

ShowBubbleSize

True to show the bubble size for the data labels on a chart. False to hide the bubble size. Read/write Boolean.

ShowCategoryName

True to display the category name for the data labels on a chart. False to hide the name. Read/write Boolean.

ShowLegendKey

True if the data label legend key is visible. Read/write Boolean.

ShowPercentage

True to display the percentage value for the data labels on a chart. False to hide the value. Read/write Boolean.

ShowSeriesName

True to show the series name for the data labels on a chart. False to hide the name. Read/write Boolean.

ShowValue

True to display the data label values for a specified chart. False to hide the values. Read/write Boolean.

VerticalAlignment

Returns or sets the vertical alignment of the specified object. Read/write Variant.