Guide for VB.NET
Core Document Formats
Additional Features

VB.NET Word - Tutorial for MS Word Pages Sorting

Sample VB.NET Programming Code to Reorder Word DOCX Pages in .NET

Home > .NET Imaging SDK > VB.NET > Sort Word Pages Order
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!

Suppose that you need to scan a file into a multi-page Word document and that your document file is incautiously scanned in a wrong order, what should you do? Of course, you can successfully reorder the Word document file by a copy-and-paste method if there are a few pages that need to be reorganized. But this method is infeasible if you are going to process 50+ Word pages.
Related .net document control helps: mvc word viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
c# excel viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
c# mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects view tiff images: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
c# pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents mvc pdf editor using c#: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC document viewer example: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
Thus, with the purpose to help users sort source Word file with desired page order in a VB.NET programming solution, we particularly develop this professional VB.NET Word page sorting library control. Before reading detailed VB.NET Word page reordering tutorial page, please look at following questions that you may be interested in.
  • What API is offered to reorganize Word pages using VB.NET code?
  • Which demo VB.NET code can I use for automatic Word pages sorting?
  • What are the benefits of using RasterEdge VB.NET Word page sorting library SDK?
  • Does RasterEdge support other VB.NET Word page processing applications?
API for Word Pages Sorting
Mature VB.NET API is offered here to help developers change the page order of source Word file in .NET developing application. And you can quickly and easily sort target Word document pages by calling SortPage method.
To help you use this VB.NET Word page sorting API, we here address two points that you may need to pay attention to.
  • DOCXDocument: this class that you see in following VB.NET Word page reordering API is an abstraction used by RasterEdge .NET Imaging SDK for representing one Word (.docx) file. And one DOCXDocument object contains all Word pages' information. Correspondingly, DOCXPage is a programming class used for displaying one Word page, which is derived from super class REPage.
  • SortPage: Using this method, you need to offer the input as new order of Word pages in VB.NET.
Private Sub SortPage(pageOrder As List(Of Integer)) Implements DOCXDocument.SortPage
End Sub
Demo VB.NET Code to Sort Word Pages
From this VB.NET sample code for sorting Word pages, you will get an overview of how to apply above-mentioned VB.NET Word page re-ordering API to VB.NET Word page processing applications. Note: if you are trying to change the order of a password-protected Word document file, this VB.NET Word pages sorting control may be infeasible right now.
''' <summary>
''' Sort Word document pages
''' </summary>
''' <param name="filePath"></param>
''' <param name="pageOrder"></param>
Public Sub SortPageOrder(filePath As [String], pageOrder As List(Of Integer))
Dim doc As New DOCXDocument(filePath)
End Sub
Why to Use
This VB.NET Word pages sorting control add-on is a powerful and multi-functional Word processing solution.

Compatible with Microsoft Word 2007 & Later Versions

Word documents that end with .docx file suffix can be all supported by this VB.NET Word pages re-ordering library plug-in.

Sort Word Pages in Both ASP.NET Web & Windows Forms Applications

As this VB.NET Word pages sorting control add-on is specifically designed for .NET developing application, it supports several .NET developing platforms and .NET programming languages, including Visual C#.

Have Great Control Over All Word Pages

As the DOCXDocument created by this VB.NET Word pages sorting SDK contains all information of source Word file, developers can easily locate and control all Word pages using VB.NET code.
Recommended Word Page Processing Controls
Apart from this VB.NET Word pages sorting function, do you need to perform other Word page processing features in your VB.NET imaging application? If yes, following recommended VB.NET Word page processing tutorials may probably meet your needs.
Besides, if you want to see other VB.NET Word document editing controls, please read this Word reading page which has a complete list of all supported Word editing features.

Recommend this to Google+ is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2017 Raster