addDocumentPage(String sourceUri, String annotUri, int pageNumToCopy, int positionToCopyTo)

Adds a page to the current document.

This method adds a page to the current document based on the following parameters that are passed to it:
sourceUri
Specifies the URL of the source document that contains the page to be added to the current document.
annotUri
Specifies the URL of the annotation URI that contains this document's annotations.
pageNumToCopy
Specifies the number of the page in the source document that is to be added to the current document.
positionToCopyTo
Specifies the page number at which the page is to be added to the current document.

Sample syntax

ViewONE.addDocumentPage("http://mysite/myimages.tif", "http://mysite/myannotations.ant", 6, 10);