Description
Sets or returns a boolean representing whether or not the table that is automatically created for the imported data will automatically be sized to fit the data being imported.
C#
public boolean AutoFit{ get; set; }
vb.net
Public Property AutoFit() As Boolean
Remarks
This is set tofalse by default.
Examples
C#
//---- Return AutoFit
boolean fit = importProps.AutoFit;
//--- Set AutoFit
importProps.AutoFit = true;
vb.net
'--- Return AutoFit
Dim fit As Boolean = importProps.AutoFit
'--- Set AutoFit
importProps.AutoFit = True
