docx
    Preparing search index...

    Variable PageOrientationConst

    PageOrientation: { LANDSCAPE: "landscape"; PORTRAIT: "portrait" } = ...

    This simple type specifies the orientation of all pages in the parent section. This information is used to determine the actual paper size to use when printing the file.

    Reference: https://c-rex.net/samples/ooxml/e1/Part4/OOXML_P4_DOCX_ST_PageOrientation_topic_ID0EKBK3.html

    <xsd:simpleType name="ST_PageOrientation">
    <xsd:restriction base="xsd:string">
    <xsd:enumeration value="portrait"/>
    <xsd:enumeration value="landscape"/>
    </xsd:restriction>
    </xsd:simpleType>

    Type declaration

    • ReadonlyLANDSCAPE: "landscape"

      Specifies that pages in this section shall be printed in landscape mode, which prints the page contents with a 90 degree rotation with respect to the normal page orientation.

    • ReadonlyPORTRAIT: "portrait"

      Specifies that pages in this section shall be printed in portrait mode.