Posted on: 7/21/2014 10:21:51 PM | Views : 435

Hi All,
I am trying to read a pdf document using iTextsharp. The document is read, but somehow I notice that name is  abbreviated for e.g if the name is "procurement Define document" , it will abbreviate the name to Proc def doc. I am not sure what am I doing wrong, but I don't want to shorten the names.
 Below is my code.
 
Imports System Imports System.Collections.Generic Imports System.Text Imports iTextSharp.text Imports iTextSharp.text.pdf Public Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim oReader As New iTextSharp.text.pdf.PdfReader("C:\test.pdf") Dim sOut As StringBuilder = New StringBuilder() For i = 1 To oReader.NumberOfPages Dim its As New iTextSharp.text.pdf.parser.SimpleTextExtractionStrategy Dim strLineTe ...

Go to the complete details ...