Partager via


DisplayUnitLabel Members (PowerPoint)

Represents a unit label on an axis in the specified chart.

Methods

Name

Description

Delete

Deletes the object.

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.

Caption

Returns or sets the display unit label text. Read/write String.

Characters

Returns a ChartCharacters object that represents a range of characters within the object text. You can use the ChartCharacters object to format characters within a text string.

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.

Formula

Returns or sets the object's formula in A1-style notation. Read/write.

FormulaLocal

Returns or sets the formula for the object, using A1-style references in the language of the user. Read/write String.

FormulaR1C1

Returns or sets the formula for the object, using R1C1-style notation in the language of the macro. Read/write String.

FormulaR1C1Local

Returns or sets the formula for the object, using R1C1-style notation in the language of the user. Read/write String.

Height

Returns the height, in points, of the object. Read-only.

HorizontalAlignment

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

Left

Returns or sets the distance, in points, from the left edge of the object to the left edge of the chart area. Read/write Double.

Name

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

Orientation

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

Parent

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

Position

Returns or sets the position of the unit label on an axis in the chart. Read/write XlChartElementPosition.

ReadingOrder

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

Shadow

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

Text

Returns or sets the text for the specified object. Read/write String.

Top

Returns or sets the distance, in points, from the top edge of the object to the top of the first row (on a worksheet) or the top of the chart area (on a chart). Read/write Double.

VerticalAlignment

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

Width

Returns the width, in points, of the object. Read-only.