ColumnAutoFit Property (XlsxConverterSettings)
Gets or sets a value indicating whether converter should automatically calculate widths of all columns.
'Declaration
Public Property ColumnAutoFit As Boolean
public bool ColumnAutoFit { get; set; }
public: __property bool get_ColumnAutoFit();
public: __property void set_ColumnAutoFit(
bool
);
Property Value
True if converter should automatically calculate widths of all columns; otherwise, false.
If this property is enabled and ColumnMinWidth equals ColumnMaxWidth, columns will have fixed width.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5