.. highlightlang:: us .. _pagegetorientation: PageGetOrientation ================== .. index:: PageGetOrientation .. us.tag PageGetOrientation ENGLISH PageGet :ref:`PageGetOrientation` gets the page orientation (portrait or landscape). .. function:: nOrientation = PageGetOrientation(hPage) .. us.return **Return Value** If *nOrientation* equals 1, the document will be displayed in portrait orientation.If *nOrientation* equals 2, the document will be displayed in landscape orientation. If the function fails, the return value is FALSE (0). .. us.params **Parameters** .. uparam:: hPage Identifies the page. .. seealso:: :ref:`overview-document-pages`, :ref:`PageSetOrientation`, :ref:`PageCreate` :sub:`id-1383773`