Table of Contents

Class OdfObjectColumnFormat

Namespace
OdfKit.Spreadsheet
Assembly
OdfKit.dll

Configures practical formatting for one object-bound spreadsheet column. 設定單一物件繫結試算表欄位的實務格式。

public sealed class OdfObjectColumnFormat
Inheritance
OdfObjectColumnFormat
Inherited Members

Constructors

OdfObjectColumnFormat()

public OdfObjectColumnFormat()

Properties

AutoFit

Gets or sets whether the column width is auto-fitted after writing. 取得或設定寫入後是否自動調整欄寬。

public bool AutoFit { get; set; }

Property Value

bool

HeaderStyleName

Gets or sets the style name applied to the header cell. 取得或設定套用至標題儲存格的樣式名稱。

public string? HeaderStyleName { get; set; }

Property Value

string

NumberFormat

Gets or sets the .NET number format registered as an ODF number style. 取得或設定要註冊為 ODF 數字樣式的 .NET 數字格式。

public string? NumberFormat { get; set; }

Property Value

string

StyleName

Gets or sets the style name applied to data cells. 取得或設定套用至資料儲存格的樣式名稱。

public string? StyleName { get; set; }

Property Value

string

Width

Gets or sets the column width. 取得或設定欄寬。

public OdfLength? Width { get; set; }

Property Value

OdfLength?