目錄 / Table of Contents

Class OdfTextMeasureRun

Namespace
OdfKit.Styles
Assembly
OdfKit.dll

Describes one styled run in a text measurement request. 描述文字量測要求中的單一具樣式片段。

public sealed class OdfTextMeasureRun
Inheritance
OdfTextMeasureRun
Inherited Members

Constructors

OdfTextMeasureRun()

public OdfTextMeasureRun()

Properties

FontFamily

Gets or sets the font family. 取得或設定字型家族。

public string FontFamily { get; set; }

Property Value

string

FontSizePoints

Gets or sets the font size in points. 取得或設定以點為單位的字型大小。

public double FontSizePoints { get; set; }

Property Value

double

IsBold

Gets or sets whether the run is bold. 取得或設定片段是否為粗體。

public bool IsBold { get; set; }

Property Value

bool

IsItalic

Gets or sets whether the run is italic. 取得或設定片段是否為斜體。

public bool IsItalic { get; set; }

Property Value

bool

Text

Gets or sets the run text. 取得或設定片段文字。

public string Text { get; set; }

Property Value

string