Class ChartTextFrame
Namespace: Aspose.Cells.Charts
Assembly: Aspose.Cells.dll (25.2.0)
Encapsula el objeto que representa el objeto de marco que contiene texto.
public class ChartTextFrame : ChartFrame
Herencia
object ← ChartFrame ← ChartTextFrame
Derivados
DataLabels, DisplayUnitLabel, Legend, Título
Miembros heredados
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()
Campos
horizontal
protected TextAlignmentType horizontal
Valor del campo
m_CharsList
protected ArrayList m_CharsList
Valor del campo
m_IsAutoText
protected bool m_IsAutoText
Valor del campo
m_deleted
protected bool m_deleted
Valor del campo
rotation
protected int rotation
Valor del campo
vertical
protected TextAlignmentType vertical
Valor del campo
Propiedades
DirectionType
Obtiene y establece la dirección del texto.
public virtual ChartTextDirectionType DirectionType { get; set; }
Valor de la propiedad
IsAutoText
Indica que el texto se genera automáticamente.
public virtual bool IsAutoText { get; set; }
Valor de la propiedad
IsAutomaticRotation
Indica si el texto del gráfico se rota automáticamente.
public bool IsAutomaticRotation { get; }
Valor de la propiedad
IsDeleted
Indica si estas etiquetas de datos están eliminadas.
public bool IsDeleted { get; set; }
Valor de la propiedad
IsResizeShapeToFitText
Obtiene o establece si una forma debe ajustarse automáticamente para contener completamente el texto descrito dentro de ella. El ajuste automático es cuando el texto dentro de una forma se escala para contener todo el texto dentro.
public bool IsResizeShapeToFitText { get; set; }
Valor de la propiedad
IsTextWrapped
Obtiene o establece un valor que indica si el texto está ajustado.
public virtual bool IsTextWrapped { get; set; }
Valor de la propiedad
LinkedSource
Obtiene y establece una referencia a la hoja de cálculo.
public virtual string LinkedSource { get; set; }
Valor de la propiedad
ReadingOrder
Representa el orden de lectura del texto.
public TextDirectionType ReadingOrder { get; set; }
Valor de la propiedad
RotationAngle
Representa el ángulo de rotación del texto.
public int RotationAngle { get; set; }
Valor de la propiedad
Observaciones
0: No rotado.
255: De arriba a abajo.
-90: Hacia abajo.
90: Hacia arriba.
Text
Obtiene o establece el texto del título de un marco.
public virtual string Text { get; set; }
Valor de la propiedad
TextHorizontalAlignment
Obtiene y establece la alineación horizontal del texto.
public TextAlignmentType TextHorizontalAlignment { get; set; }
Valor de la propiedad
TextVerticalAlignment
Obtiene o establece la alineación vertical del texto.
public TextAlignmentType TextVerticalAlignment { get; set; }
Valor de la propiedad
Métodos
Characters(int, int)
Devuelve un objeto Characters que representa un rango de caracteres dentro del texto.
public FontSetting Characters(int startIndex, int length)
Parámetros
startIndex
int
El índice del inicio del carácter.
length
int
El número de caracteres.
Devuelve
Objeto Characters.