Excel for UWP/WinRT
Width プロパティ

列の幅(ツイップ単位)を取得または設定します。
構文
'宣言
 
Public Property Width As System.Integer
public System.int Width {get; set;}
解説

値 -1 は、列をシートの XLSheet.DefaultColumnWidth を使用して表示することを示します。

ピクセル単位とツイップ単位を変換するには、C1XLBook.TwipsToPixels メソッドと PixelsToTwips メソッドを使用します。

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

関連項目

XLColumn クラス
XLColumn メンバ

Send Feedback