Version

CalculateAutoSizeExtent(FieldAutoSizeOptions,FieldAutoSizeScope) Method

Returns the preferred size for the field based on the specified FieldAutoSizeOptions.
Syntax
'Declaration
 
Public Overloads Function CalculateAutoSizeExtent( _
   ByVal options As FieldAutoSizeOptions, _
   ByVal scope As FieldAutoSizeScope _
) As Double
public double CalculateAutoSizeExtent( 
   FieldAutoSizeOptions options,
   FieldAutoSizeScope scope
)

Parameters

options
Provides information about what aspects should affect the size of the field.
scope
Indicates which records should be evaluated

Return Value

A double that represents the preferred size for the field or double.NaN if a preferred size could not be calculated.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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