Guide for VB.NET
Core Document Formats
Additional Features

VB.NET Word - Delete or Remove Page(s) from Word

How to Delete & Remove One or More Word Pages Using VB.NET Code

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

Are you looking for a .NET solution to remove unwanted or unnecessary page(s) from source Word document file using VB.NET programming code? merge pdf files in c#, c# mvc website pdf file in stored in byte array display in browser, c# save as pdf, crystal report export to pdf without viewer c#, c# pdfsharp extract text from pdf, convert tiff to pdf c# itextsharp. If yes, please read this VB.NET Word page removing online tutorial page which aims to answer following questions.
Related .net document control helps: dicom viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET pdf viewer: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents word document viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications document viewer control: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS... pdf page: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C# mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
  • How to install VB.NET Word page deleting control add-on in .NET developing application?
  • What VB.NET APIs are offered to remove one or more pages from Word document file?
  • How to delete page from Word file using sample VB.NET code?
  • Why to choose RasterEdge VB.NET Word page removing control add-on?
c# merge pdf memorystream, convert image to pdf using, pdf to tiff, c# remove text from pdf, get pdf page count c#, c# get pdf page size, rotate pdf.
How to Install
Similar to other functions of RasterEdge VB.NET Word reading SDK, VB.NET Word page removing capability is also compacted into small dll with mature Word page deleting APIs. pdf writer, asp net core mvc pdf viewer download, pdf preview in c#, excel viewer c#, view tiff image, pdf viewer control c#, asp net replace text from pdf javascript. Therefore, developers can easily install this VB.NET Word page removing library plug-in into their .NET developing application by adding needed compact dlls into project references.
After you install this VB.NET Word page removing control add-on to your VB.NET project and it still does not work, then you need to make sure you have finished following preparation work.
  • Install .NET Framework 2.0, 3.0, 3.5, 4.0 or 4.5
  • Install Microsoft Visual Studio 2005, 2008, 2010 or 2012
  • Activate your valid license key and place it at the right folder of your VB.NET Word project
If you still can not get this VB.NET Word page removing add-on work in your .NET application, then please feel free to contact us.
APIs to Remove Word Page
Two independent VB.NET APIs are listed here for developers to delete & remove page(s) from Word document file. One is used to remove single Word page and the other is used to delete a list of Word pages.
With the purpose to help you have a better understanding of following VB.NET Word page deleting APIs, we here make some explanations briefly.
  • DOCXDocument: this programming class is defined by RasterEdge .NET imaging SDK in VB.NET to represent one Word document file, which contains the information of all Word pages. Correspondingly, RasterEdge treats each Word document page as DOCXPage, which is derived from super class REPage.
  • DeletePage & DeletePages: these are two methods that RasterEdge VB.NET Word page deleting control add-on has offered for developers to remove Word page(s) in different situations.
  • Word document file that is password-protected is not supported right now.

API to Delete One Word Page

As this VB.NET Word page removing assembly toolkit has a great control over all pages of one DOCXDocument, it allows developers to accurately locate any Word page by defining corresponding page index.
Private Sub DeletePage(pageIdx As Integer) Implements DOCXDocument.DeletePage
End Sub

API to Remove More Word Pages

If you want to delete a list of pages from source Word document file, this VB.NET Word page deleting control add-on can also meet your request.
Private Sub DeletePages(pageIdx As List(Of Integer)) Implements DOCXDocument.DeletePages
End Sub
Demo Code to Delete Word Page
If you want to see a practical application of above mentioned VB.NET Word page deleting APIs, we here expressly offer you a snippet of sample VB.NET code which can help you delete one page from Word file.
''' <summary>
''' Delete one page from Word document
''' </summary>
''' <param name="filePath"></param>
''' <param name="pageIndx"></param>
Public Sub DeletePage(filePath As [String], pageIndx As Integer)
Dim doc As New DOCXDocument(filePath)
End Sub
Why to Use
In this section, we will list the main features of this VB.NET Word page deleting control add-on.

Delete Page from Microsoft Word 2007 or Later Versions

As this VB.NET Word page deleting control SDK is able to remove page from Word file that ends with .docx, files created by Microsoft Word 2007 & later versions are all compatible.

Remove One or More Pages from Word File

Different from other VB.NET Word page deleting control, RasterEdge VB.NET Word page removing add-on allows developers to delete multiple Word pages at a time.

Compatible with Other Word Page Processing Controls

This VB.NET Word page deleting library add-on can be used to perform other Word page processing functions if integrated with VB.NET Word page processor SDK.

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-2024 Raster