If you extract text from Aspose.PDF for .NET, you can check the “coordinates” and “contents” of the extracted text. Therefore, we would like to ask you about the following.
If the character “ABCDEFG” is extracted, is there a way to know the “coordinates” for the character “CD”?
If there is no current method, is it possible to develop a function?
It depends upon how the text was added in the PDF. Can you please share any sample PDF for our reference so that we can test the scenario in our environment and address it accordingly.
I made the sample.pdf file as an example.
I want to draw a box in the middle of the extracted string like at the top.
The first option is the text written with the “COMMENT” function, and the second option is the text written with the EDIT function.
I can extract text and create boxes using the Aspose function.
What I want to know is the coordinates of the middle of the string, such as “DEF”, “CAT”, “iPhone”.
We need to investigate the feasibility of your requirements. Therefore, an investigation task as PDFNET-53239 has been logged in our issue tracking system. We will further look into its details and keep you posted with the status of its correction. Please be patient and spare us some time.