Partager via


ChartTitle Members (Excel)

Represents the chart title.

Methods

Name

Description

Delete

Deletes the object.

Select

Selects the object.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel 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.

Caption

Returns or sets a String value that represents the chart title text.

Characters

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

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

Format

Returns the ChartFormat object. Read-only.

Formula

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

FormulaLocal

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

FormulaR1C1

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

FormulaR1C1Local

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

Height

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

HorizontalAlignment

Returns or sets a Variant value that represents the horizontal alignment for the specified object.

IncludeInLayout

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

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 column A (on a worksheet) or the left edge of the chart area (on a chart).

Name

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

Orientation

Returns or sets a Variant value that represents the text orientation.

Parent

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

Position

Returns or sets the position of the chart title on the chart. Read/write XlChartElementPosition.

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. Read/write Long.

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 a Variant value that represents the vertical alignment of the specified object.

Width

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