DisplayUnitLabel DisplayUnitLabel DisplayUnitLabel Interface

Definition

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

public interface class DisplayUnitLabel
[System.Runtime.InteropServices.Guid("0002084C-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface DisplayUnitLabel
Public Interface DisplayUnitLabel
Attributes

Remarks

Unit labels are useful for charting large values — for example, in the millions or billions. You can make the chart more readable by using a single unit label instead of large numbers at each tick mark.

Use the DisplayUnitLabel property to return the DisplayUnitLabel object.

Properties

Application Application Application

Returns an Application object that represents the Microsoft Excel application.

AutoScaleFont AutoScaleFont AutoScaleFont

True if the text in the object changes font size when the object size changes. The default value is True.

Border Border Border

Returns a Border object that represents the border of the object.

Caption Caption Caption

The display unit label text.

Characters[Object, Object] Characters[Object, Object] Characters[Object, Object]

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

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which this object was created.

Fill Fill Fill

Returns a FillFormat object for a specified shape or a ChartFillFormat object for a specified chart that contains fill formatting properties for the shape or chart.

Font Font Font

Returns a Font object that represents the font of the specified object.

Format Format Format

Returns the ChartFormat object. Read-only.

Formula Formula Formula

Gets or sets a value that represents the formula of the object using A1-style notation, in English.

FormulaLocal FormulaLocal FormulaLocal

Gets or sets a value that represents the formula of the object using A1-style notation, in the language of the user.

FormulaR1C1 FormulaR1C1 FormulaR1C1

Gets or sets a value that represents the formula of the object using R1C1-style notation, in English.

FormulaR1C1Local FormulaR1C1Local FormulaR1C1Local

Gets or sets a value that represents the formula of the object using R1C1-style notation, in the language of the user.

Height Height Height

Gets the height, in points, of the object.

HorizontalAlignment HorizontalAlignment HorizontalAlignment

Returns or sets the horizontal alignment for the specified object.

Interior Interior Interior

Returns an Interior object that represents the interior of the specified object.

Left Left Left

The distance, in points, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).

Name Name Name

Returns the name of the object.

Orientation Orientation Orientation

The text orientation. Can be an integer value from –90 to 90 degrees.

Parent Parent Parent

Returns the parent object for the specified object.

Position Position Position

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

ReadingOrder ReadingOrder ReadingOrder

Returns or sets the reading order for the specified object. Can be one of the following constants: xlRTL (right-to-left), xlLTR (left-to-right), or xlContext.

Shadow Shadow Shadow

True if the font is a shadow font or if the object has a shadow.

Text Text Text

Returns or sets the text for the specified object.

Top Top Top

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).

VerticalAlignment VerticalAlignment VerticalAlignment

Returns or sets the vertical alignment of the specified object.

Width Width Width

Gets the width, in points, of the object.

Methods

_Dummy21() _Dummy21() _Dummy21()

Reserved for internal use.

Delete() Delete() Delete()

Deletes the object.

Select() Select() Select()

Selects the object.

Applies to