Table of Contents

Class OdfRichTextRun

Namespace
OdfKit.Spreadsheet
Assembly
OdfKit.dll

Represents one formatted run in ODS cell rich text. 表示 ODS 儲存格富文字中的一個格式片段。

public sealed class OdfRichTextRun
Inheritance
OdfRichTextRun
Inherited Members

Constructors

OdfRichTextRun()

public OdfRichTextRun()

Properties

Bold

Gets a value indicating whether the run is bold. 是否粗體。

public bool Bold { get; init; }

Property Value

bool

Color

Gets the text color; null indicates the default color is inherited. 文字色彩;null 表示繼承預設色彩。

public OdfColor? Color { get; init; }

Property Value

OdfColor?

FontFamily

Gets the font family name; null indicates inheritance. 字型名稱;null 表示繼承。

public string? FontFamily { get; init; }

Property Value

string

Italic

Gets a value indicating whether the run is italic. 是否斜體。

public bool Italic { get; init; }

Property Value

bool

Text

Gets the plain text of the run. 片段的純文字。

public string Text { get; init; }

Property Value

string

Underline

Gets a value indicating whether the run is underlined. 是否底線。

public bool Underline { get; init; }

Property Value

bool