There was an error while loading. Please reload this page.
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