Class OdfSheetColumn
- Namespace
- OdfKit.Spreadsheet
- Assembly
- OdfKit.dll
Represents a column in a worksheet. 表示工作表中的一欄。
public sealed class OdfSheetColumn
- Inheritance
-
OdfSheetColumn
- Inherited Members
Properties
Index
Gets the zero-based column index. 取得以 0 為基準的欄索引。
public int Index { get; }
Property Value
Visible
Gets or sets whether this column is visible. 取得或設定此欄是否顯示。
public bool Visible { get; set; }
Property Value
Methods
AutoFit()
Automatically fits the column width according to current content. 依目前內容自動調整欄寬。
public void AutoFit()
SetWidth(OdfLength)
Sets the column width. 設定欄寬。
public void SetWidth(OdfLength width)
Parameters
widthOdfLengthThe column width. / 欄寬。