ChartTitle Members

Include Protected Members
Include Inherited Members

Represents the chart title.

The ChartTitle type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property AutoScaleFont True if the text in the object changes font size when the object size changes. The default value is True.
Public property Border Returns a Border object that represents the border of the object.
Public property Caption The chart title text.
Public property 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.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C.
Public property 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.
Public property Font Returns a Font object that represents the font of the specified object.
Public property Format Returns the ChartFormat object. Read-only.
Public property Formula Gets or sets a value that represents the formula of the object using A1-style notation, in English.
Public property FormulaLocal Gets or sets a value that represents the formula of the object using A1-style notation, in the language of the user.
Public property FormulaR1C1 Gets or sets a value that represents the formula of the object using R1C1-style notation, in English.
Public property FormulaR1C1Local Gets or sets a value that represents the formula of the object using R1C1-style notation, in the language of the user.
Public property Height Gets the height, in points, of the object.
Public property HorizontalAlignment Returns or sets the horizontal alignment for the specified object.
Public property 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.
Public property Interior Returns an Interior object that represents the interior of the specified object.
Public property 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).
Public property Name Returns the name of the object.
Public property Orientation The text orientation. Can be an integer value from –90 to 90 degrees.
Public property Parent Returns the parent object for the specified object.
Public property Position Returns or sets the position of the chart title on the chart. Read/write XlChartElementPosition.
Public property 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.
Public property Shadow True if the object has a shadow.
Public property Text Returns or sets the text for the specified object.
Public property 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).
Public property VerticalAlignment Returns or sets the vertical alignment of the specified object.
Public property Width Gets the width, in points, of the object.

Top

Methods

  Name Description
Public method Delete Deletes the object.
Public method Select Selects the object.

Top

See Also

Reference

ChartTitle Interface

Microsoft.Office.Interop.Excel Namespace