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

텍스트 스타일(String, TextStyle)

Aspose.Note.TextRun 클래스의 새로운 예를 시작합니다.

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

Parameters

text string

연결된 텍스트입니다.

style TextStyle

그 스타일을

스트링 ( String )

기본 스타일로 Aspose.Note.TextRun 클래스의 새로운 예를 시작합니다.

public TextRun(string text)
   {
   }

Parameters

text string

연결된 텍스트입니다.

텍스트 스타일 (Text Style)

빈 텍스트를 가진 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

 한국어