Custom Nodes Square9.CustomNode SDK Methods Current: MovePage Method MovePage Method Moves a page from one index in the page array to another. public void MovePage(int index, int newIndex); CODE Classes: Document Parametersint indexIndex of the page to move. int newIndexDestination index of the moving page. ExampleThe following example demonstrates moving the first page of a document to the end of that document. The new index is targeted using the Document.PageCount integer property. Process.Document.MovePage(0, Process.Document.PageCount); CODE RemarksThrows an InvalidOperationException if called on a GlobalAction process.Throws an IndexOutOfRangeException if the target index is too large for the document. ×