« Return to Thread: How to find a particular text position (x and y coordinates) in PDF File using iTextSharp ?

Re: How to find a particular text position (x and y coordinates) in PDF File using iTextSharp ?

by Kumari, Archana :: Rate this Message:

Reply to Author | View in Thread

Can anyone help me with my query below? It would be a great help.

-----Original Message-----
From: Paulo Soares [mailto:psoares@...]
Sent: Wednesday, June 03, 2009 3:48 PM
To: Post all your questions about iTextSharp here
Subject: Re: [itextsharp-questions] How to find a particular text position (x and y coordinates) in PDF File using iTextSharp ?

Finding text in a PDF is extremely difficult, mostly empyrichal and in some cases impossible. If you based your workflow in this you'll have a lot of problems. iTextSharp can't find text.

Paulo

> -----Original Message-----
> From: Kumari, Archana [mailto:archana.kumari@...]
> Sent: Wednesday, June 03, 2009 10:36 AM
> To: itextsharp-questions@...
> Subject: [itextsharp-questions] How to find a particular text position
> (x and y coordinates) in PDF File using iTextSharp ?
>
>  
>
> Hi,
>
> I am using iTextSharp.dll and I am coding in C# to read a PDF file. I
> want to find position of particular text (its x and y
> coordinates) in a PDF file.
>
> In detail, the text to be searched in PDF File say "ROCK" and its x,y
> coordinate values are provided to me in  excel sheet.
>  I have to verify that the text "ROCK" lies exactly at the same x,y
> coordinates as provided in the excel sheet.
>
>  
>
> 1)      Is there any method in itextsharp that takes text to
> be searched as input and return its  x,y coordinates ?
>
> 2)      Or is there any method in itextsharp that takes x,y
> coordinates value as input and return the text at that coordinate?
>
>  
>
> Kindly help me out and let me know if more information is required.
>
>  
>
> Regards,
>
> Archana  Kumari
>
>  
>
>

Aviso Legal:

Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.



Disclaimer:

This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.




------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
itextsharp-questions mailing list
itextsharp-questions@...
https://lists.sourceforge.net/lists/listinfo/itextsharp-questions

 « Return to Thread: How to find a particular text position (x and y coordinates) in PDF File using iTextSharp ?