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
object ← ChartFrame ← ChartTextFrame
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
m_CharsList
protected ArrayList m_CharsList
Field Value
m_IsAutoText
protected bool m_IsAutoText
Field Value
m_deleted
protected bool m_deleted
Field Value
rotation
protected int rotation
Field Value
vertical
protected TextAlignmentType vertical
Field Value
Properties
DirectionType
Gets and sets the direction of text.
public virtual ChartTextDirectionType DirectionType { get; set; }
Property Value
IsAutoText
Indicates the text is auto generated.
public virtual bool IsAutoText { get; set; }
Property Value
IsAutomaticRotation
Indicates whether the text of the chart is automatically rotated.
public bool IsAutomaticRotation { get; }
Property Value
IsDeleted
Indicates whether this data labels is deleted.
public bool IsDeleted { get; set; }
Property Value
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
IsTextWrapped
Gets or sets a value indicating whether the text is wrapped.
public virtual bool IsTextWrapped { get; set; }
Property Value
LinkedSource
Gets and sets a reference to the worksheet.
public virtual string LinkedSource { get; set; }
Property Value
ReadingOrder
Represents text reading order.
public TextDirectionType ReadingOrder { get; set; }
Property Value
RotationAngle
Represents text rotation angle.
public int RotationAngle { get; set; }
Property Value
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
TextHorizontalAlignment
Gets and sets the text horizontal alignment.
public TextAlignmentType TextHorizontalAlignment { get; set; }
Property Value
TextVerticalAlignment
Gets or sets the text vertical alignment of text.
public TextAlignmentType TextVerticalAlignment { get; set; }
Property Value
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
Characters object.