IColumnFormatting.ColumnWidth Property

Gets or sets the column width in characters.
Property ColumnWidth() As Integer
This language is not supported or no code example is available.
int ColumnWidth {get; set;}
This language is not supported or no code example is available.

Property Value

int

The column width in characters in the range 1-255.

Remarks
 
If the value is set to a number less than 1, then the width will not be changed. This is most likely the case when the column is hidden in which case the width is zero. This should be indicated by the HiddenByUser property. If the value is set to a number greater than 255, then the width will be automatically corrected to 255. No exception will be thrown in such cases.
Version
 
Available since QDV 7.18.655.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition