Поделиться через


DataLabels Members

Include Protected Members
Include Inherited Members

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

The DataLabels type exposes the following members.

Properties

  Name Description
Public property 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.
Public property AutoScaleFont Reserved for internal use.
Public property AutoText true if all objects in the collection automatically generate appropriate text based on context. Read/write Boolean value.
Public property Border Reserved for internal use.
Public property Count Returns the number of objects in the collection. Read-only 64-bit signed integer.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only.
Public property Fill Reserved for internal use.
Public property Font Reserved for internal use.
Public property Format Returns the line, fill, and effect formatting for the object. Read-only ChartFormat.
Public property HorizontalAlignment Returns or sets the horizontal alignment for the specified object. Read/write.
Public property Interior Reserved for internal use.
Public property Name Returns the name of the object. Read-only string.
Public property NumberFormat Returns or sets the format code for the object. Read/write string.
Public property 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 value.
Public property NumberFormatLocal Returns or sets the format code for the object as a string in the language of the user. Read/write.
Public property Orientation Returns or sets the text orientation. Read/write 64-bit signed integer.
Public property Parent Returns the parent for the specified object. Read-only.
Public property Position Returns or sets the position of the data labels. Read/write XlDataLabelPosition.
Public property ReadingOrder Returns or sets an XlReadingOrder constant that represents the reading order for the specified object. Read/write 64-bit signed integer.
Public property Separator Sets or returns the separator for the data labels on a chart. Read/write.
Public property Shadow Returns or sets a value that indicates whether the object has a shadow. Read/write Boolean value.
Public property ShowBubbleSize true to show the bubble size for the data labels on a chart. false to hide the bubble size. Read/write Boolean value.
Public property ShowCategoryName true to display the category name for the data labels on a chart. false to hide the category name. Read/write Boolean value.
Public property ShowLegendKey true if the data label legend key is visible. Read/write Boolean value.
Public property ShowPercentage true to display the percentage value for the data labels on a chart. false to hide the value. Read/write Boolean value.
Public property ShowSeriesName true to show the series name for the data labels on a chart. false to hide the series name. Read/write Boolean value.
Public property ShowValue true to display a specified chart's data label values. false to hide the values. Read/write Boolean value.
Public property Type Reserved for internal use.
Public property VerticalAlignment Returns or sets the vertical alignment of the specified object. Read/write.

Top

Methods

  Name Description
Public method _Default Reserved for internal use.
Public method Delete Deletes the object.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator() Returns an enumerator that iterates through the collection.
Public method Item Returns a single object from a collection.
Public method Select Selects the object.

Top

See Also

Reference

DataLabels Interface

Microsoft.Office.Interop.PowerPoint Namespace