Range.ColumnWidth プロパティ

定義

指定した範囲内のすべての列の幅を設定または返します。

public:
 property System::Object ^ ColumnWidth { System::Object ^ get(); void set(System::Object ^ value); };
public object ColumnWidth { get; set; }
Public Property ColumnWidth As Object

プロパティ値

注釈

列幅の単位は、標準スタイルの 1 文字分の幅に相当します。 プロポーショナル フォントでは、数字の 0 の幅が列幅の単位になります。

プロパティを Width 使用して、列の幅をポイント単位で返します。

対象セル範囲内のすべての列が同じ幅である場合、ColumnWidth プロパティはその値を返します。 If columns in the range have different widths, this property returns Null.

適用対象