SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface BestFitOptions

    Options for ICellRange.getBestFit — measurement only.

    interface BestFitOptions {
        axes?: AxisSelection;
        formulaView?: boolean;
        minContent?: boolean;
    }

    Hierarchy (View Summary)

    Index
    axes?: AxisSelection

    The axes to autoFit.

    IRange.AxisSelection.Both
    
    formulaView?: boolean

    Fit to what formula view displays rather than to the rendered values.

    the sheet view's ISheetView.isShowFormulas

    In formula view a cell with a formula shows = + its formula text, and every other cell shows its raw value with no number format. Both are usually much wider than the formatted value, which is why Excel also renders columns at twice their stored width while it is on.

    Normally left unset — autoFit follows the view. Pass it explicitly to fit for a view other than the current one (or, in tests, without a view at all).

    minContent?: boolean

    Best fit using the minimum amount of space required.

    false
    

    When true the numbers will include as few decimals as allowed overflow into the next cell. For example allowing numbers to round or use scientific notation.