Click or drag to resize

ChartTextArea Class

Represents a text area within a chart used for displaying textual information such as labels, descriptions, or annotations.
Inheritance Hierarchy
System Object
Spire.Xls.Core.Spreadsheet XlsObject
Spire.Xls.Charts ChartTextArea

Namespace: Spire.Xls.Charts
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class ChartTextArea : XlsObject, 
	IChartTextArea, IExcelApplication, IFont, IOptimizedUpdate, IChartDataLabels

The ChartTextArea type exposes the following members.

Properties
Name Description
Public property BackgroundMode
Display mode of the background.
Public property Color
Gets / sets font color. Searches for the closestes color in the workbook palette.
Public property Delimiter
Delimeter.
Public property Font Obsolete.
Returns FontImpl for current font. Read-only.
Public property FontName
Returns or sets the font name. Read / write string.
Public property FrameFormat
Return format of the text area.
Public property HasBubbleSize
Indicates whether buble size is in data labels.
Public property HasCategoryName
Indicates whether category name is in data labels.
Public property HasDataLabels
Indicates whether contain dataLabels .
Public property HasLegendKey
Indicates whether legend key is in data labels.
Public property HasPercentage
Indicates whether percentage is in data labels.
Public property HasSeriesName
Indicates whether series name is in data labels.
Public property HasTextRotation
Gets value indicating whether TextRotation was changed. Read-only.
Public property HasValue
Indicates whether value is in data labels.
Public property HorizontalAlignType
Gets or sets the horizontal alignment of the content within the control.
Public property Index
Returns font index. Read-only.
Public property IsAutoColor
Indicates whether color is automatically selected. Read-only.
Public property IsAutoMode
True if background is set to automatic.
Public property IsBold
True if the font is bold. Read / write Boolean.
Public property IsItalic
True if the font style is italic. Read / write Boolean.
Public property IsResizeShapeToFitText
Gets or sets a value indicating whether the shape should be resized to fit the text.
Public property IsShowLabelPercent
Indicates whether to show category label and value as percentage.
Public property IsStrikethrough
True if the font is struck through with a horizontal line. Read / write Boolean
Public property IsSubscript
True if the font is formatted as subscript. False by default. Read / write Boolean.
Public property IsSuperscript
True if the font is formatted as superscript. False by default. Read/write Boolean
Public property IsTextWrapped
Determines whether the text within the control is wrapped to fit within the control's bounds.
Public property IsTrend
Indicates if current text assign to trend object.
Public property KnownColor
Returns or sets the primary color of the object, as shown in the following table. Use the RGB function to create a color value. Read / write Integer.
Public property NumberFormat
Gets or sets number format for the text area.
Public property NumberFormatIndex
Gets index to the number format. Read-only.
Public property OColor
Returns textarea's color object. Read-only.
Public property ParagraphType
Represents the TextArea Paragraph
Public property Parent
Gets the parent of the textarea.
Public property ParentWorkbook
Returns parent workbook object.
Public property Position
Represents data labels position.
Protected property ReferenceCount
Get quantity of instance references.
(Inherited from XlsObject .)
Public property ShowLeaderLines Obsolete.
Indicates whether Leader Lines is in data labels.
Public property Size
Returns or sets the size of the font. Read / write Variant.
Public property StrikethroughType
Strikethrough Type. Read / write sngStrike dblStrike
Public property Text
Area's text.
Public property TextRotationAngle
Text rotation angle.
Public property Underline
Returns or sets the type of underline applied to the font. Can be one of the following FontUnderlineTypeStyle constants. Read / write FontUnderlineType.
Public property VerticalAlignment
Gets / sets font vertical alignment.
Public property X
Represents the X coordinate of a point in a 2D space.
Public property Y
Represents the Y-coordinate of a point in a 2D space.
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.
Protected method CheckDisposed
Checks whether object was disposed and throws exception if it was.
(Inherited from XlsObject .)
Public method Clone(Object)
Creates object that is copy of the current instance.
Public method Clone(Object, Dictionary Int32, Int32 , Dictionary String, String )
Clone current record.
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.
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.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetThemeColor
Get the theme color.
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 .)
Public method SetFont
Sets internal font according to the font.
Protected method SetParent
Sets parent of the object.
(Inherited from XlsObject .)
Public method SetThemeColor
Set the theme color.
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