Class TextRun
Nome do espaço: Aspose.Note Assembleia: Aspose.Note.dll (25.4.0)
A classe representa um pedaço de texto com estilo associado.
public class TextRun
Inheritance
Membros herdados
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
TextRun(Título, TextStyle)
Inicia uma nova instância da classe Aspose.Note.TextRun.
public TextRun(string text, TextStyle style)
Parameters
text
string
O texto associado.
style
TextStyle
O estilo .
TextRun(Redação)
Inicia uma nova instância da classe Aspose.Note.TextRun com estilo padrão.
public TextRun(string text)
Parameters
text
string
O texto associado.
TextRun(TextStyle)
Inicia uma nova instância da classe Aspose.Note.TextRun com texto vazio.
public TextRun(TextStyle style)
Parameters
style
TextStyle
O estilo .
TextRun()
Inicia uma nova instância da classe Aspose.Note.TextRun com texto vazio e estilo padrão.
public TextRun()
Properties
Length
Tome o comprimento do texto associado.
public int Length { get; }
Valor da propriedade
Style
Faça ou coloque o estilo.
public TextStyle Style { get; set; }
Valor da propriedade
Text
Receba ou coloca o texto.
public string Text { get; set; }