PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

find text and get its coordinates
http://forum.pdfsharp.com/viewtopic.php?f=2&t=4712
Page 1 of 1

Author:  valmont [ Fri Nov 01, 2024 1:57 pm ]
Post subject:  find text and get its coordinates

Hello.
Is it possible to find the search text and get its coordinates?

Author:  tboeko [ Tue Nov 05, 2024 9:15 am ]
Post subject:  Re: find text and get its coordinates

I would like to join the question. We would like to add a signature to an existing PDF that has a predetermined but changing position for the signature (depending on text length of pdf)

Author:  TH-Soft [ Wed Nov 06, 2024 5:15 pm ]
Post subject:  Re: find text and get its coordinates

valmont wrote:
Is it possible to find the search text and get its coordinates?
Yes.
PDFsharp can return the contents of a page.
It is up to your code to extract the text and the co-ordinates.

This can be rather simple if all PDF files come from the same application, but can become very difficult if it should work with PDFs from any application.

search.php?keywords=extracttext&terms=all&author=&sc=1&sf=all&sk=t&sd=d&sr=posts&st=0&ch=300&t=0&submit=Search

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/