Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
python-docx / docs / api / enum / WdLineSpacing.rst
Size: Mime:
.. _WdLineSpacing:

``WD_LINE_SPACING``
===================

Specifies a line spacing format to be applied to a paragraph.

Example::

    from docx.enum.text import WD_LINE_SPACING

    paragraph = document.add_paragraph()
    paragraph.line_spacing_rule = WD_LINE_SPACING.EXACTLY

----

ONE_POINT_FIVE
    Space-and-a-half line spacing.

AT_LEAST
    Line spacing is always at least the specified amount. The amount is
    specified separately.

DOUBLE
    Double spaced.

EXACTLY
    Line spacing is exactly the specified amount. The amount is specified
    separately.

MULTIPLE
    Line spacing is specified as a multiple of line heights. Changing the font
    size will change the line spacing proportionately.

SINGLE
    Single spaced (default).