Modifica

Condividi tramite


DisplayUnitLabel Interface

Definition

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

public interface class DisplayUnitLabel
[System.Runtime.InteropServices.Guid("C04865A3-9F8A-486C-BB58-B4C3E6563136")]
public interface DisplayUnitLabel
type DisplayUnitLabel = interface
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.

Properties

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.

AutoScaleFont

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

Border

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

Caption

Returns or sets a String value that represents the display unit label text.

Characters[Object, Object]

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

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

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

Format

Returns the line, fill, and effect formatting for the object.

Read-only ChartFormat.

Formula

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

FormulaLocal

Gets or sets the formula for the object, using A1-style references in the language of the user.

FormulaR1C1

Gets or sets the formula for the object, using R1C1-style notation in the language of the macro.

FormulaR1C1Local

Gets or sets the formula for the object, using R1C1-style notation in the language of the user.

Height

Gets the height, in points, of the object.

HorizontalAlignment

Returns or sets an Object value that represents the horizontal alignment for the specified object.

IncludeInLayout

Set to True if a unit label will occupy the chart layout space when a chart layout is being determined. The default value is True. Read/write Boolean.

Interior

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

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.

Name

Returns a String value that represents the name of the object.

Orientation

Returns or sets an Object value that represents the text orientation.

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 the Integer value of a XlReadingOrder constant that represents the reading order for the specified object. Read/write

Shadow

Returns or sets a Boolean value that determines if the object has a shadow.

Text

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

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

VerticalAlignment

Returns or sets an Object value that represents the vertical alignment of the specified object.

Width

Gets the width, in points, of the object.

Methods

Delete()

Deletes the object.

Select()

Selects the object.

Applies to