Click or drag to resize

ChartTitle Class

Represents the title of a chart, providing properties and methods to customize its appearance and content.
Inheritance Hierarchy
System Object
Spire.Xls.Core.Spreadsheet XlsObject
Spire.Xls.Core.Spreadsheet.Charts XlsChartTitleArea
Spire.Xls.Charts ChartTitle

Namespace: Spire.Xls.Charts
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class ChartTitle : XlsChartTitleArea

The ChartTitle type exposes the following members.

Properties
Name Description
Public property BackgroundMode
Display mode of the background.
(Inherited from XlsChartTitleArea .)
Public property Color
Gets or sets color.
(Inherited from XlsChartTitleArea .)
Public property Font Obsolete.
Returns FontImpl for current font. Read-only.
(Inherited from XlsChartTitleArea .)
Public property FontName
Returns or sets the font name. Read / write string.
(Inherited from XlsChartTitleArea .)
Public property FrameFormat
Return frame format. Read-only.
(Inherited from XlsChartTitleArea .)
Public property IsAutoColor
Indicates whether color has automatic color. Read-only.
(Inherited from XlsChartTitleArea .)
Public property IsAutoMode
True if background is set to automatic.
(Inherited from XlsChartTitleArea .)
Public property IsBold
True if the font is bold. Read / write Boolean.
(Inherited from XlsChartTitleArea .)
Public property IsItalic
True if the font style is italic. Read / write Boolean.
(Inherited from XlsChartTitleArea .)
Public property IsStrikethrough
True if the font is struck through with a horizontal line. Read / write Boolean
(Inherited from XlsChartTitleArea .)
Public property IsSubscript
True if the font is formatted as subscript. False by default. Read / write Boolean.
(Inherited from XlsChartTitleArea .)
Public property IsSuperscript
True if the font is formatted as superscript. False by default. Read/write Boolean
(Inherited from XlsChartTitleArea .)
Public property KnownColor
Returns or sets the primary color of the object.
(Inherited from XlsChartTitleArea .)
Public property Parent
Reference to Parent object. Read-only.
(Inherited from XlsObject .)
Protected property ReferenceCount
Get quantity of instance references.
(Inherited from XlsObject .)
Public property Size
Returns or sets the size of the font. Read / write Variant.
(Inherited from XlsChartTitleArea .)
Public property StrikethroughType
Represents the TextArea StrikethroughType
(Inherited from XlsChartTitleArea .)
Public property Text
Gets or sets text.
(Inherited from XlsChartTitleArea .)
Public property TextRotationAngle
Text rotation angle. between -90 and 90.
(Inherited from XlsChartTitleArea .)
Public property Underline
Returns or sets the type of underline applied to the font.
(Inherited from XlsChartTitleArea .)
Public property VerticalAlignment
Returns or sets font vertical alignment.
(Inherited from XlsChartTitleArea .)
Top
Methods
Name Description
Protected method AddReference
Increase the quantity of reference. User must use this method when new wrapper on object is created or reference on object stored.
(Inherited from XlsObject .)
Public method BeginUpdate
This method should be called before several updates to the object will take place.
(Inherited from XlsChartTitleArea .)
Protected method CheckDisposed
Checks whether object was disposed and throws exception if it was.
(Inherited from XlsObject .)
Public method Dispose
Dispose object and free resources.
(Inherited from XlsObject .)
Public method EndUpdate
This method should be called after several updates to the object took place.
(Inherited from XlsChartTitleArea .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Destructor. Call dispose method of current object.
(Inherited from XlsObject .)
Protected method FindParent(Type)
This method is used to find parent with specific type.
(Inherited from XlsObject .)
Protected method FindParent( Type )
Find parent of object.
(Inherited from XlsObject .)
Protected method FindParent(Type, Boolean)
This method is used to find parent with specific type.
(Inherited from XlsObject .)
Protected method FindParents
Finds parent objects.
(Inherited from XlsObject .)
Public method GenerateNativeFont
Generates .Net font object corresponding to the current font.
(Inherited from XlsChartTitleArea .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetThemeColor
Get the theme color.
(Inherited from XlsChartTitleArea .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method OnDispose
Method which can be overriden by users to take any specific actions when object is disposed.
(Inherited from XlsObject .)
Protected method ReleaseReference
Decrease quantity of Reference. User must call this method when freeing resources.
(Inherited from XlsObject .)
Protected method SetParent
Sets parent of the object.
(Inherited from XlsObject .)
Public method SetThemeColor
Set the theme color.
(Inherited from XlsChartTitleArea .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Protected field m_bIsDisposed
Flag which indicates if the object was disposed or not.
(Inherited from XlsObject .)
Top
See Also