Base class for chart elements which behave as a label.
Inheritance
Classes that extend this class.
Derived ClassesProperties
Section titled "Properties"Border
Section titled "Border"Inherited from: ChartTextAreaBase
Determines the appearance of the border drawn around the text area, as well as whether a border appears.
public ChartBorder Border { get; set; } DefaultFont
Section titled "DefaultFont"Inherited from: ChartTextAreaBase
Defines the font properties for each formatted run in the that has no more specific setting. Read-only.
public IWorkbookFont DefaultFont { get; } Inherited from: ChartTextAreaBase
Returns or sets a derived object which defines the fill properties for the text area.
public ChartFillBase Fill { get; set; } Formula
Section titled "Formula"Inherited from: ChartTextAreaBase
The formula used to get the text displayed within the text area. (read-only).
public virtual Formula Formula { get; } HorizontalOverflow
Section titled "HorizontalOverflow"Inherited from: ChartTextAreaBase
Determines whether text is allowed to continue horizontally outside the bounds of the containing element.
public TextHorizontalOverflow HorizontalOverflow { get; set; } Inherited from: ChartTextAreaBase
The left position of the text area (ignored unless is set to 'Custom').
public virtual double Left { get; set; } Position
Section titled "Position"Inherited from: ChartTextAreaBase
Determines whether the position of the text area is automatic or custom as specified by the and properties.
public virtual ElementPosition Position { get; set; } ReadingOrder
Section titled "ReadingOrder"Inherited from: ChartTextAreaBase
Determines the reading order
public ReadingOrder ReadingOrder { get; set; } Rotation
Section titled "Rotation"Inherited from: ChartTextAreaBase
Determines the rotation of the text area, expressed in degrees.
public double Rotation { get; set; } Inherited from: ChartTextAreaBase
Returns or sets a object which defines the text to be displayed by the associated chart element.
public virtual FormattedString Text { get; set; } TextDirection
Section titled "TextDirection"Inherited from: ChartTextAreaBase
Determines the orientation and direction in which text flows.
public TextDirection TextDirection { get; set; } Inherited from: ChartTextAreaBase
The top position of the text area (ignored unless is set to 'Custom').
public virtual double Top { get; set; } VerticalAlignment
Section titled "VerticalAlignment"Inherited from: ChartTextAreaBase
Determines the vertical alignment of the text area.
public VerticalTitleAlignment VerticalAlignment { get; set; } VerticalOverflow
Section titled "VerticalOverflow"Inherited from: ChartTextAreaBase
Determines whether text is allowed to continue vertically outside the bounds of the containing element.
public TextVerticalOverflow VerticalOverflow { get; set; } WrapText
Section titled "WrapText"Inherited from: ChartTextAreaBase
Determines whether text is wrapped when it would exceed the bounds of the containing element.
public bool WrapText { get; set; } Chart
Section titled "Chart"Inherited from: ChartObject
Returns the owning chart (read-only)
public WorksheetChart Chart { get; } Owner
Section titled "Owner"Inherited from: ChartObject
returns this object's owner. (read-only)
public ChartObject Owner { get; } Sheet
Section titled "Sheet"Inherited from: ChartObject
The owning sheet (read-only)
public Sheet Sheet { get; } Workbook
Section titled "Workbook"Inherited from: ChartObject
The owning workbook (read-only)
public Workbook Workbook { get; } Worksheet
Section titled "Worksheet"Inherited from: ChartObject
The owning worksheet (read-only)
public Worksheet Worksheet { get; } NumberFormat
Section titled "NumberFormat"Returns or sets the format to use for numbers.
public string NumberFormat { get; set; } NumberFormatLinked
Section titled "NumberFormatLinked"True if the number format is linked to the cells (so that the number format changes in the labels when it changes in the cells).
public bool NumberFormatLinked { get; set; } Methods
Section titled "Methods"SetFormula(string, CellReferenceMode?)
Section titled "SetFormula(string, CellReferenceMode?)"Inherited from: ChartTextAreaBase
Assigns a new to this instance.
public virtual void SetFormula(string formula, CellReferenceMode? cellReferenceMode = null) Parameters
- formula:
string - cellReferenceMode:
CellReferenceMode?