SetDocPageIndex
This method has been added to allow the script implementation of the page merging workflow step.
Sample Code
The following sample code shows how to append one document to another.
For j = 0 To thePreviousWorkdoc.PageCount -1 Step 1
theNextWorkdoc.InsertPage (thePreviousWorkdoc, j, True, theNextWorkdoc.PageCount)
theNextWorkdoc.Pages (theNextWorkdoc.PageCount -1).SetDocPageIndex(0, j + 1)
Next j