Range.ColumnWidth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the width of all columns in the specified range.
public:
property System::Object ^ ColumnWidth { System::Object ^ get(); void set(System::Object ^ value); };
public object ColumnWidth { get; set; }
Public Property ColumnWidth As Object
Property Value
Remarks
One unit of column width is equal to the width of one character in the Normal style. For proportional fonts, the width of the character 0 (zero) is used.
Use the Width property to return the width of a column in points.
If all columns in the range have the same width, the ColumnWidth property returns the width. If columns in the range have different widths, this property returns Null.