docx
    Preparing search index...

    Type Alias IFitTextOptions

    Options for fitting a run's text to a width.

    type IFitTextOptions = {
        group?: number;
        width: number | PositiveUniversalMeasure;
    }
    Index
    group?: number

    Runs next to each other with the same group are fitted to the width together, as one piece of text, so it can be made of runs formatted differently (w:id). Word fits them to the first one's width. Without a group, the run is fitted to its width on its own.

    width: number | PositiveUniversalMeasure

    The width the text is squeezed or spread to fill, in twips (1440 is an inch) or as a measure such as "1in" (w:val)