Class ChartTextFrame

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

objectChartFrameChartTextFrame

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

TextAlignmentType

m_CharsList

protected ArrayList m_CharsList

Valor del campo

ArrayList

m_IsAutoText

protected bool m_IsAutoText

Valor del campo

bool

m_deleted

protected bool m_deleted

Valor del campo

bool

rotation

protected int rotation

Valor del campo

int

vertical

protected TextAlignmentType vertical

Valor del campo

TextAlignmentType

Propiedades

DirectionType

Obtiene y establece la dirección del texto.

public virtual ChartTextDirectionType DirectionType { get; set; }

Valor de la propiedad

ChartTextDirectionType

IsAutoText

Indica que el texto se genera automáticamente.

public virtual bool IsAutoText { get; set; }

Valor de la propiedad

bool

IsAutomaticRotation

Indica si el texto del gráfico se rota automáticamente.

public bool IsAutomaticRotation { get; }

Valor de la propiedad

bool

IsDeleted

Indica si estas etiquetas de datos están eliminadas.

public bool IsDeleted { get; set; }

Valor de la propiedad

bool

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

bool

IsTextWrapped

Obtiene o establece un valor que indica si el texto está ajustado.

public virtual bool IsTextWrapped { get; set; }

Valor de la propiedad

bool

LinkedSource

Obtiene y establece una referencia a la hoja de cálculo.

public virtual string LinkedSource { get; set; }

Valor de la propiedad

string

ReadingOrder

Representa el orden de lectura del texto.

public TextDirectionType ReadingOrder { get; set; }

Valor de la propiedad

TextDirectionType

RotationAngle

Representa el ángulo de rotación del texto.

public int RotationAngle { get; set; }

Valor de la propiedad

int

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

string

TextHorizontalAlignment

Obtiene y establece la alineación horizontal del texto.

public TextAlignmentType TextHorizontalAlignment { get; set; }

Valor de la propiedad

TextAlignmentType

TextVerticalAlignment

Obtiene o establece la alineación vertical del texto.

public TextAlignmentType TextVerticalAlignment { get; set; }

Valor de la propiedad

TextAlignmentType

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

FontSetting

Objeto Characters.

 Español