.. highlightlang:: us .. index:: DocAddPage .. _docaddpage: DocAddPage ========== .. us.tag DocAddPage ENGLISH DocSet Changed5300 :ref:`DocAddPage` adds new pages to the document. .. function:: hvNewPage = DocAddPage(hDoc, hvPage) .. us.return **Return Value** The return value *hvNewPage* is a vector with the new page handles. .. us.params **Parameters** .. uparam:: hDoc Identifies the document. .. uparam:: hvPage *hvPage* is a vector with page handles. A copy of the page will be created if the page already belongs to a document. .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.30.0 - New return value. Instead of the number of added pages, the new page handles are returned. .. seealso:: :ref:`overview-documents`, :ref:`DocCreate`, :ref:`PageCreate`, :ref:`DocGetPageNames`, :ref:`DocGetPageCount`, :ref:`DocGetActivePage`, :ref:`DocCopyPage`, :ref:`DocSelectPage` :sub:`id-1875421`