HotXLS ドキュメント

TXLSXCellFormat class

Unit: lxHandleX
セルまたは範囲に 1 回の操作で完全なスタイルを適用するための複合セル書式参照 (font/fill/border/number-format/alignment/protection の各 *Index)

Description

1 回の操作でセルまたは範囲に完全なスタイルを適用するための複合セル書式参照 (font/fill/border/number-format/alignment/protection の各 *Index)。このクラスは XLSX ファサードの一部です (lxHandleX)。所有側のワークブックまたはワークシートを通じてアクセスし、通常はアプリケーション コードから直接作成しません

Properties

Font
Fill
Border
Alignment
NumberFormat

Methods

procedure SetProtection(ALocked, AFormulaHidden: Boolean) — 保護アスペクトを有効にし、2 つのセル保護フラグを記録します
procedure Apply — 有効なアスペクトを 1 つのセルに適用します
procedure ApplyRange — 矩形内のすべてのセルに適用します。存在しないセルは書式 painter のように作成します
procedure ApplyRows — 行全体に適用します
procedure ApplyCols — 列全体に適用します
procedure ApplySheet — ワークシート全体に適用します

See also