Class ChartTextFrame

Class ChartTextFrame

Namespace: Aspose.Cells.Charts
Assembly: Aspose.Cells.dll (25.2.0)

Encapsulates the object that represents the frame object which contains text.

public class ChartTextFrame : ChartFrame

Inheritance

objectChartFrameChartTextFrame

Derived

DataLabels, DisplayUnitLabel, Legend, Title

Inherited Members

ChartFrame.m_IsAutoXPos, ChartFrame.m_IsAutoYPos, ChartFrame.m_IsOffsetPosBeSet, ChartFrame.m_fontIndex, ChartFrame.m_AutoScaleFont, ChartFrame.m_BackgroundMode, ChartFrame.m_isAutoSize, ChartFrame.SetPositionAuto(), ChartFrame.IsInnerMode, ChartFrame.Border, ChartFrame.Area, ChartFrame.TextOptions, ChartFrame.Font, ChartFrame.AutoScaleFont, ChartFrame.BackgroundMode, ChartFrame.IsAutomaticSize, ChartFrame.X, ChartFrame.Y, ChartFrame.Height, ChartFrame.Width, ChartFrame.Shadow, ChartFrame.ShapeProperties, ChartFrame.IsDefaultPosBeSet, ChartFrame.DefaultX, ChartFrame.DefaultY, ChartFrame.DefaultWidth, ChartFrame.DefaultHeight, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Fields

horizontal

protected TextAlignmentType horizontal

Field Value

TextAlignmentType

m_CharsList

protected ArrayList m_CharsList

Field Value

ArrayList

m_IsAutoText

protected bool m_IsAutoText

Field Value

bool

m_deleted

protected bool m_deleted

Field Value

bool

rotation

protected int rotation

Field Value

int

vertical

protected TextAlignmentType vertical

Field Value

TextAlignmentType

Properties

DirectionType

Gets and sets the direction of text.

public virtual ChartTextDirectionType DirectionType { get; set; }

Property Value

ChartTextDirectionType

IsAutoText

Indicates the text is auto generated.

public virtual bool IsAutoText { get; set; }

Property Value

bool

IsAutomaticRotation

Indicates whether the text of the chart is automatically rotated.

public bool IsAutomaticRotation { get; }

Property Value

bool

IsDeleted

Indicates whether this data labels is deleted.

public bool IsDeleted { get; set; }

Property Value

bool

IsResizeShapeToFitText

Gets or sets whether a shape should be auto-fit to fully contain the text described within it. Auto-fitting is when text within a shape is scaled in order to contain all the text inside.

public bool IsResizeShapeToFitText { get; set; }

Property Value

bool

IsTextWrapped

Gets or sets a value indicating whether the text is wrapped.

public virtual bool IsTextWrapped { get; set; }

Property Value

bool

LinkedSource

Gets and sets a reference to the worksheet.

public virtual string LinkedSource { get; set; }

Property Value

string

ReadingOrder

Represents text reading order.

public TextDirectionType ReadingOrder { get; set; }

Property Value

TextDirectionType

RotationAngle

Represents text rotation angle.

public int RotationAngle { get; set; }

Property Value

int

Remarks


0: Not rotated.
255: Top to Bottom.
-90: Downward.
90: Upward.

Text

Gets or sets the text of a frame’s title.

public virtual string Text { get; set; }

Property Value

string

TextHorizontalAlignment

Gets and sets the text horizontal alignment.

public TextAlignmentType TextHorizontalAlignment { get; set; }

Property Value

TextAlignmentType

TextVerticalAlignment

Gets or sets the text vertical alignment of text.

public TextAlignmentType TextVerticalAlignment { get; set; }

Property Value

TextAlignmentType

Methods

Characters(int, int)

Returns a Characters object that represents a range of characters within the text.

public FontSetting Characters(int startIndex, int length)

Parameters

startIndex int

The index of the start of the character.

length int

The number of characters.

Returns

FontSetting

Characters object.