.. highlightlang:: us .. index:: DocCopyPage .. _doccopypage: DocCopyPage =========== .. us.tag DocCopyPage ENGLISH DocSet Changed300 Copies a page from the source to the destination document. .. function:: hPage = DocCopyPage(hDoc, nPage, hDocDest) .. us.return **Return Value** If the handle of the added page or 0 if the function failed. .. us.params **Parameters** .. uparam:: hDoc Identifies the document. .. uparam:: nPage *nPage* is a page number. .. uparam:: hDocDest *hDocDest* is the handle of the destination document. .. us.comment **Comment** When the first page is copied to the document, all maps will be copied from the template to the new document as well. .. seealso:: :ref:`overview-documents`, :ref:`DocAddPage`, :ref:`DocGetActivePage`, :ref:`DocGetPageNumber` :sub:`id-285146`