JScript | |
---|---|
public function AutofitCol( col1 : int, col2 : int, ignoreStrings : boolean, adjustment : double ); |
Parameters
- col1
- First column to Autofit.
- col2
- Last column to Autofit.
- ignoreStrings
- When true, strings will not be considered for the autofit. Only numbers will.
- adjustment
- You will normally want to set this parameter to 1, which means that autofit will be made with standard measurements. If you set it to for example 1.1, then columns will be adjusted to 110% percent of what their calculated width was. Use this parameter to fine-tune autofiting, if for example columns are too small when opening the file in Excel.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family