Class TextRun
Nombre del espacio: Aspose.Note Asamblea: Aspose.Note.dll (25.4.0)
La clase representa una pieza de texto con estilo asociado.
public class TextRun
Inheritance
Miembros heredados
object.GetType() ,y, object.MemberwiseClone() ,y, object.ToString() ,y, object.Equals(object?) ,y, object.Equals(object?, object?) ,y, object.ReferenceEquals(object?, object?) ,y, object.GetHashCode()
Constructors
TextRun(Título, TextStyle)
Inicia una nueva instancia de la clase Aspose.Note.TextRun.
public TextRun(string text, TextStyle style)
Parameters
text
string
El texto asociado.
style
TextStyle
El estilo.
TextRun(El string)
Inicia una nueva instancia de la clase Aspose.Note.TextRun con estilo predeterminado.
public TextRun(string text)
Parameters
text
string
El texto asociado.
TextRun(TextStyle)
Inicia una nueva instancia de la clase Aspose.Note.TextRun con texto vacío.
public TextRun(TextStyle style)
Parameters
style
TextStyle
El estilo.
TextRun()
Inicia una nueva instancia de la clase Aspose.Note.TextRun con texto vacío y estilo predeterminado.
public TextRun()
Properties
Length
Tiene la longitud del texto asociado.
public int Length { get; }
Valor de la propiedad
Style
Obtenga o establece el estilo.
public TextStyle Style { get; set; }
Valor de la propiedad
Text
Obtenga o coloca el texto.
public string Text { get; set; }