#NEWLINE# @ property #NEWLINE# def orientation( self ) : #NEWLINE# #INDENT# '\n        The member of the ``WD_ORIENTATION`` enumeration corresponding to the\n        value of the ``orient`` attribute of the ``<w:pgSz>`` child element,\n        or ``WD_ORIENTATION.PORTRAIT`` if not present.\n        ' #NEWLINE# pgSz = self . pgSz #NEWLINE# if ( pgSz is None ) : #NEWLINE# #INDENT# return WD_ORIENTATION . PORTRAIT #NEWLINE# #UNINDENT# return pgSz . orient