Class TextRun

Class TextRun

Il nome: Aspose.Note Assemblea: Aspose.Note.dll (25.4.0)

La classe rappresenta un pezzo di testo con uno stile associato.

public class TextRun

Inheritance

object TextRun

I membri ereditari

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

TextRun(String, stile di testo)

Inizia una nuova instanza della classe Aspose.Note.TextRun.

public TextRun(string text, TextStyle style)

Parameters

text string

Il testo associato.

style TextStyle

Lo stile .

TextRun(String)

Inizia una nuova instanza della classe Aspose.Note.TextRun con lo stile predefinito.

public TextRun(string text)

Parameters

text string

Il testo associato.

TextRun(TextStyle)

Inizia una nuova instanza della classe Aspose.Note.TextRun con testo vuoto.

public TextRun(TextStyle style)

Parameters

style TextStyle

Lo stile .

TextRun()

Inizia una nuova instanza della classe Aspose.Note.TextRun con testo vuoto e stile predefinito.

public TextRun()

Properties

Length

Riceve la lunghezza del testo associato.

public int Length { get; }

Valore di proprietà

int

Style

Fate o impostate lo stile.

public TextStyle Style { get; set; }

Valore di proprietà

TextStyle

Text

Ricevi o metti il testo.

public string Text { get; set; }

Valore di proprietà

string

 Italiano