Share via


DataLabel Members

Include Protected Members
Include Inherited Members

The DataLabel type exposes the following members.

Properties

  Name Description
Public property Application When used without an object qualifier, this property returns an Application object that represents the Microsoft Word application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.
Public property AutoScaleFont
Public property AutoText True if the object automatically generates appropriate text based on context. Read/write Boolean.
Public property Border
Public property Caption Returns or sets a String value that represents the data label text.
Public property Characters Returns a [ChartCharacters#SameCHM] object that represents a range of characters within the object text. You can use the ChartCharacters object to format characters within a text string.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Public property Fill
Public property Font
Public property Format Returns the line, fill, and effect formatting for the object. Read-only [ChartFormat#SameCHM].
Public property HorizontalAlignment Returns or sets a Variant value that represents the horizontal alignment for the specified object.
Public property Interior
Public property Left Returns or sets a Double value that represents the distance, in points, from the left edge of the object to the left edge of the chart area.
Public property Name Returns a String value that represents the name of the object.
Public property NumberFormat Returns or sets a String value that represents the format code for the object.
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.
Public property NumberFormatLocal Returns or sets a Variant value that represents the format code for the object as a string in the language of the user.
Public property Orientation Returns or sets a Long value that represents the text orientation.
Public property Parent Returns the parent for the specified object. Read-only Object.
Public property Position Returns or sets a [XlDataLabelPosition#SameCHM] value that represents the position of the data label.
Public property ReadingOrder Returns or sets an [XlReadingOrder#SameCHM] constant that represents the reading order for the specified object. Read/write Long.
Public property Separator Sets or returns a Variant representing the separator used for the data labels on a chart. Read/write.
Public property Shadow Returns or sets a Boolean value that determines if the object has a shadow.
Public property ShowBubbleSize True to show the bubble size for the data labels on a chart. False to hide. Read/write Boolean.
Public property ShowCategoryName True to display the category name for the data labels on a chart. False to hide. Read/write Boolean.
Public property ShowLegendKey True if the data label legend key is visible. Read/write Boolean.
Public property ShowPercentage True to display the percentage value for the data labels on a chart. False to hide. Read/write Boolean.
Public property ShowSeriesName Returns or sets a Boolean to indicate the series name display behavior for the data labels on a chart. True to show the series name. False to hide. Read/write.
Public property ShowValue Returns or sets a Boolean corresponding to a specified chart's data label values display behavior. True displays the values. False to hide. Read/write.
Public property Text Returns or sets the text for the specified object. Read/write String.
Public property Top Returns or sets a Double value that represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).
Public property Type
Public property VerticalAlignment Returns or sets a Variant value that represents the vertical alignment of the specified object.

Top

Methods

  Name Description
Public method Delete Returns a [DataLabel#SameCHM] object that represents the data label associated with the point. Read-only.
Public method Select Selects the object.

Top

See Also

Reference

DataLabel Interface

Microsoft.Office.Interop.PowerPoint Namespace