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 / WdOrientation.rst
Size: Mime:
.. _WdOrientation:

``WD_ORIENTATION``
==================

alias: **WD_ORIENT**

Specifies the page layout orientation.

Example::

    from docx.enum.section import WD_ORIENT

    section = document.sections[-1]
    section.orientation = WD_ORIENT.LANDSCAPE

----

PORTRAIT
    Portrait orientation.

LANDSCAPE
    Landscape orientation.