.. highlightlang:: us .. _pagegetsize: PageGetSize =========== .. index:: PageGetSize .. us.tag PageGetSize ENGLISH PageGet :ref:`PageGetSize` returns the page size. .. function:: rvSize = PageGetSize(hPage) rvSize = PageGetSize(hPage, bPaperSize) .. us.return **Return Value** *rvSize* is a row vector with two elements. The first element contains the width in cm and the second element the height in cm. .. us.params **Parameters** .. uparam:: hPage Identifies the page. .. uparam:: bPaperSize If *bPaperSize* is TRUE (1) the function returns the paper size in cm. If p|bPaperSize| is FALSE (0) the function returns the size of the printable area For laser printers this area is approx 1 cm smaller than the paper size. Default value is FALSE (0). .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.2.1 - Parameter *bPaperSize* added. .. seealso:: :ref:`overview-document-pages`, :ref:`PageCreate`, :ref:`PageSetSize`, :ref:`PageGetPaperSize`, :ref:`OBJGetPosSize` :sub:`id-1645572`