Skip to content

Documentation #708

@brpl20

Description

@brpl20

https://python-docx.readthedocs.io/en/latest/api/enum/WdLineSpacing.html

shows usage:
paragraph.line_spacing_rule = WD_LINE_SPACING.EXACTLY

but you have to especify paragraph_format before the .line_spacing:
paragraph.paragraph_format.line_spacing_rule = WD_LINE_SPACING.EXACTLY

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions