Class OdfRichTextRunOptions
- Namespace
- OdfKit.Spreadsheet
- Assembly
- OdfKit.dll
Configures formatting for a single rich-text run. 設定單一富文字片段的格式。
public sealed class OdfRichTextRunOptions
- Inheritance
-
OdfRichTextRunOptions
- Inherited Members
Remarks
Prefer this options object over multi-optional parameter lists for new call sites. 新呼叫端請優先使用此 options 物件,避免多個尾端可選參數。
Constructors
OdfRichTextRunOptions()
public OdfRichTextRunOptions()
Properties
Bold
Gets or sets whether the run is bold. 取得或設定是否套用粗體。
public bool Bold { get; set; }
Property Value
Color
public OdfColor? Color { get; set; }
Property Value
- OdfColor?
Default
Gets the default formatting options (no emphasis). 取得預設格式選項(無強調樣式)。
public static OdfRichTextRunOptions Default { get; }
Property Value
FontFamily
public string? FontFamily { get; set; }
Property Value
Italic
Gets or sets whether the run is italic. 取得或設定是否套用斜體。
public bool Italic { get; set; }
Property Value
Underline
Gets or sets whether the run is underlined. 取得或設定是否套用底線。
public bool Underline { get; set; }