Xceed Workbooks for .NET v2.0 Documentation
BestFit Property


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Column Class : BestFit Property
Gets or sets if the width of the column will be adjusted to the largest cell value content from the column. The default setting is false.
Syntax
'Declaration
 
Public Property BestFit As Boolean
'Usage
 
Dim instance As Column
Dim value As Boolean
 
instance.BestFit = value
 
value = instance.BestFit
public bool BestFit {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10, 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

See Also

Reference

Column Class
Column Members