PDF Reading in VB.NET

Comprehensive VB.NET Codes for PDF Reading within .NET Imaging SDK

PDF
PDF Add-on can be worked with RasterEdge .NET Imaging SDK for accurate PDF reading, PDF merging and splitting, PDF modification, PDF rasterization...
PDF Reading
Here is a detailed VB.NET sample for PDF reading and processing with RasterEdge .NET Imaging SDK and PDF Reader. (For C#.NET developers, please go to PDF Reading for C#.NET. Want to view Image and document in Winforms or Web applications, please go to Read PDF in Winforms and Web Document Image PDF Reading.)
Imports System.IO
Imports RasterEdge.Imaging
Imports RasterEdge.Imaging.Processing
Imports RasterEdge.Imaging.Pdf

Load a PDF

You may load a PDF from file, IStream and Stream with following VB.NET codes:
Public Function LoadFromFile(ByVal FilePath As String, ByVal LoadInMemory As Boolean) As RasterEdgeImageStatus
Public Function LoadFromIStream(ByVal Stream As IStream) As RasterEdgeImageStatus
Public Function LoadFromIStream(ByVal Stream As Stream) As RasterEdgeImageStatus

Add a New PDF

If you want to add PDF Readings programmatically, see following VB.NET codes:
Public Function NewPDF() As RasterEdgeImageStatus

Rasterization

Rendering PDF pages can be easily achieved, copy those following VB.NET codes to begin your rasterization journey:
Public Function RenderPageToGdPictureImage(ByVal DPI As Single, ByVal RenderFormFields As Boolean) As Integer

Save a PDF

You may save a PDF to file and Stream with following VB.NET codes:
Public Function SaveToFileInc(ByVal FilePath As String) As RasterEdgeImageStatus
Public Function SaveToStream(ByVal Stream As Stream) As RasterEdgeImageStatus

Print a PDF

The following code shows how to print pdf:
Public Sub Print()

Text Extraction

If you want to extract text form PDF, copy those following VB.NET codes:
'Returns the text of the current page of the PDF.
Public Function GetPageText() As String
'Returns the text of the current page of the PDF within a specific rectangle.
Public Function GetPageTextArea(ByVal Left As Single, ByVal Top As Single, ByVal Width As Single, ByVal Height As Single)
As String
'searches the current page page of the PDF for an occurrence of a given text string and returns its bounding box.
Public Function SearchText(ByVal Text As String, ByVal Occurrence As Integer, ByVal CaseSensitive As Boolean, ByVal
WholeWords As Boolean,
ByRef Left As Single, ByRef Top As Single, ByRef Width As Single, ByRef Height As Single) As Boolean
More Tutorials!
Find more user guides with RasteEdge .NET Image SDK using VB.NET sample codings!
Want to install Imaging SDK in Winforms or Web applications, please go to Use Imaging SDK in Winforms and Web Document Image Viewer.