Class TextRun

Class TextRun

名称: Aspose.Note 合計: Aspose.Note.dll (25.4.0)

クラスは、関連するスタイルを持つテキストの一部を表しています。

public class TextRun
   {
       private string _text;
       private Font _font;
       private ParagraphFormat _paragraphFormat;
       private Style _style;
       public string Text
       {
           get { return _text; }
           set { _text = value; }
       }
       public Font Font
       {
           get { return _font; }
           set { _font = value; }
       }
       public ParagraphFormat ParagraphFormat
       {
           get { return _paragraphFormat; }
           set { _paragraphFormat = value; }
       }
       public Style Style
       {
           get { return _style; }
           set { _style = value; }
       }
   }

Inheritance

object TextRun

相続人

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

Constructors

TextRun(ストリング、テキストスタイル)

Aspose.Note.TextRun クラスの新しいインスタンスを開始します。

public TextRun(string text, TextStyle style)
   {
      this.Text = text;
      this.Style = style;
   }

Parameters

text string

関連テキスト

style TextStyle

スタイルです。

テキスト(ストリング)

デフォルトスタイルで Aspose.Note.TextRun クラスの新しい例を開始します。

public TextRun(string text)
   {
   }

Parameters

text string

関連テキスト

TextRun(テキストスタイル)

空のテキストで Aspose.Note.TextRun クラスの新しい例を開始します。

public TextRun(TextStyle style)
   {
      this._style = style;
   }

Parameters

style TextStyle

スタイルです。

テキスト( )

空のテキストとデフォルトスタイルで Aspose.Note.TextRun クラスの新しい例を開始します。

public TextRun()
   {
   }

Properties

Length

関連するテキストの長さを得る。

public int Length
   {
      get;
   }

不動産価値

int

Style

あるいはスタイルを設定する。

public TextStyle Style
   {
      get { return this.Style; }
      set { this.Style = value; }
   }

不動産価値

TextStyle

Text

テキストを受け取るか設定するか。

public string Text
   {
      get;
      set;
   }

不動産価値

string

 日本語