English | 日本
BCL Technologies
Shopping CartContact Us
BCL easyPDF SDK

Processing and Manipulating PDF in ASP.NET

Benefits

  • PDF page manipulation features, such as Merging, Splitting, Rotating, Deleting, Extracting, Optimizing.
  • PDF bookmarking features, such as appending and deleting bookmarks from existing PDF.
  • Embed elements inside current PDF, such as note, text, hyperlink, file attachment, custom annotation.
  • Get PDF information, such as metadata, page size, rotation, count, version.
  • Modify PDF security settings, such as getting signature information, checking encryption, changing password.
  • Extract text from PDF.

Code Snippets

  • Read the PDFProcessor Object Specification
    This object lets you do post-processing of existing PDF files (such as merging multiple PDF files into one, splitting one PDF file into two, and encrypting/decrypting a PDF file)

Merging PDF Files

...
Dim oLoader As Loader = Server.CreateObject("easyPDF.Loader.7")

Dim oProcessor As PDFProcessor = oLoader.LoadObject("easyPDF.PDFProcessor.7")

'merge two files using Merge
oProcessor.Merge(Server.MapPath("./input1.pdf"), Server.MapPath("./input2.pdf"), Server.MapPath("./merged.pdf")) 

'merge more than two files using MergeBatch
Dim inputFiles(0 To 2) As String
inputFiles(0) = Server.MapPath("./input1.pdf")
inputFiles(1) = Server.MapPath("./input2.pdf")
inputFiles(2) = Server.MapPath("./input3.pdf")
oProcessor.MergeBatch(inputFiles, Server.MapPath("./merged.pdf"))
...
                  

 

Splitting PDF

...
Dim oLoader As Loader = Server.CreateObject("easyPDF.Loader.7")

Dim oProcessor As PDFProcessor = oLoader.LoadObject("easyPDF.PDFProcessor.7")

'split the document at page 3
oProcessor.Split(Server.MapPath(".\input.pdf"), Server.MapPath("./part1.pdf"), Server.MapPath("./part2.pdf"), 3)
...
                  

 

Extracting Text from PDF

...
Dim oLoader As Loader = Server.CreateObject("easyPDF.Loader.7")

Dim oProcessor As PDFProcessor = oLoader.LoadObject("easyPDF.PDFProcessor.7")

'extract text from pages 1 through 4 to a physical file using ExtractText
oProcessor.ExtractText(Server.MapPath("./input.pdf"), Server.MapPath("./extracted.txt"), Nothing, 0, 3, Nothing, Nothing)

'extract text from a bounding box on page 1 to a string variable using ExtractText2
Dim text As String = oProcessor.ExtractText2(Server.MapPath("./input.pdf"), 0, 0, 0, 300, 300, Nothing)
...
                  

 

Download Free Trial

Request Pricing

QuickStart Video
Watch a QuickStart Video on how to use easyPDF SDK in ASP and ASP.NET Web Server Environment.

PDF Features
Documentation
Testimonials from Our ASP.NET Customers
  • “easyPDF SDK setup was very straightforward, unlike our experience with other products. We wrote just a few lines of code to start using it.” Read the case study
  • “We evaluated many PDF tools and drivers. We even wrote our own. Except for BCL’s easyPDF SDK, all had limitations we couldn’t live with. Some only converted from MS Office and not very well. Others could not do annotation or text stamping on PDF documents. None were as easy to use and as easy to integrate.” Read the case study
-
 
BCL
© 1993 - , BCL Technologies.
All other trademarks are the property of their respective owners.