docx
    Preparing search index...

    Type Alias ISpacingProperties

    Properties for configuring paragraph spacing.

    All values are in twips (twentieths of a point) unless otherwise specified.

    type ISpacingProperties = {
        after?: number;
        afterAutoSpacing?: boolean;
        before?: number;
        beforeAutoSpacing?: boolean;
        line?: number;
        lineRule?: typeof LineRuleType[keyof typeof LineRuleType];
    }
    Index

    Properties

    after?: number

    Spacing after the paragraph in twips

    afterAutoSpacing?: boolean

    Use automatic spacing after the paragraph

    before?: number

    Spacing before the paragraph in twips

    beforeAutoSpacing?: boolean

    Use automatic spacing before the paragraph

    line?: number

    Line spacing value in twips (interpretation depends on lineRule)

    lineRule?: typeof LineRuleType[keyof typeof LineRuleType]

    How to interpret the line spacing value