To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!
RasterEdge.Imaging.PDF.dll, is a powerful PDF document processing library component which is included in the RasterEdge Imaging SDK for .NET. This library control is often used together with other image editing DLLs for versatile PDF editing features and a better PDF file processing experience.
This mature library SDK can add powerful Portable Document Format (PDF) editing solution and capacities to your system for .NET developers. What's more, this DLL control can be easily installed into .NET development environment such as Microsoft Visual Studio, with no need for third party tool such as Adobe Acrobat PDF editor.
This tutorial will show you several PDF document processing features (like PDF page modification
) along with their Visual Basic .NET methods and user manuals. Here is the layout of this VB.NET guiding page:
- PDF document processing function introduction and Visual Basic .NET methods
- User manuals for PDF document processing and Visual Basic .NET sample codes
This page will mainly focus on providing several user manuals for PDF document processing and manipulation. However, we also provide some other PDF editing VB.NET and C# user manuals for you. Please go to the target tutorials for more information according to your PDF manipulation requirements.
PDF VB.NET Processing Functions
RasterEdge PDF editor control library is developed for manipulation PDF document in a .NET imaging application. Once you have integrated this library SDK into your project, you can easily add various PDF file processing functions for your program.
Method to Rotate PDF Page in VB.NET
Using this PDF processing library, Visual Basic .NET developers can easily rotate any of the page from a PDF document within 360 degrees as you wish. As is demonstrated in the methods below, developers will load & open a local PDF document, convert it to RasterEdge image, and then rotate the page with a certain degree and then save as a new file.
'Method for opening PDF document
Public Shared Function OpenDocumentFile(filePath As String) As REDocument
Public Shared Function OpenDocumentFile(filePath As String, dec As BaseDecoder) As REDocument
'Method for converting PDF page to image
Public MustOverride Function ToImage() As BaseImage
'Method for applying rotating function
Public Shared Function ApplyRotate(img As REImage, deg As Integer) As Integer
'Method for saving rotated image
Public Shared Sub SaveImageFile(image As REImage, filePath As String)
Public Shared Sub SaveImageFile(image As REImage, filePath As String, enc As BaseEncoder)
Method to Insert PDF Page in VB.NET
If you want to add some more contents into a PDF document, you can use this function to insert / embed a new page into an existing PDF file. Using the method listed below, developers can easily achieve this with just a single line of Visual Basic .NET coding to create a new empty PDF page.
Public Overrides Function CreateEmptyPage() As BasePage
Method to Add Image to PDF in VB.NET
In case you want to add a local image to your PDF document, we have provided you with this function to insert / embed any image in png, jpeg, gif, tiff and bmp image format to your editing PDF file with VB.NET. Demonstrated below is the method to add image to PDF.
Public Overrides Function AddImage(pageIdx As Integer) As Integer
Method to Delete PDF Page in VB.NET
You can also delete any page within a PDF document by using this Visual Basic .NET method displayed below.
Public Overrides Function DeletePage(pageIdx As Integer) As Integer
Method to Sort PDF Page in VB.NET
With the VB.NET method below, you can freely sort PDF page (reorder & reorganize the order) as you wish.
Public Overrides Sub SortPage(orderPageIdxs As List(Of Integer))
Method to Merge PDF Page in VB.NET
If you want to merge two PDF documents into a single one, you can try the following VB.NET method to merge your PDF documents and save as a new PDF document.
Public Overrides Function MergeDocument(appendDoc As BaseDocument) As BaseDocument
Method to Split PDF Page in VB.NET
This PDF processing library also provides the function to let you split a single one PDF document into two separate ones. Just follow the method listed below to have a try in VB.NET application.
Public Overrides Function SplitDocument(pageIndex As Integer) As List(Of BaseDocument)
PDF VB.NET Processing Tutorials
Recommend this to Google+