Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Difference between coordinates

$
0
0
Hello,
i extracted text properties using method PdfEctractor.getFormattedText(), and I'm saving the X, Y ,width , height and text in an object to be used later on.
in another class I'm using method contentEditor.getTextInRectangle(1, zone.getRect());
where zone.getRect()  is the object I saved earlier using the extracted X, Y ,width and height.

Lets say I saved an object having x=100,y=65,width=87 and height =124 and text=trial
if I extract contentEditor.getTextInRectangle(1, new Rectangle(100,65,87,124)) I get a text different than "trial" knowing that I'm using the same pdf file and that the number of the page used in getTextInRectangle is correct.
is there a difference in the measurement unit??
Thank you

Viewing all articles
Browse latest Browse all 3131

Trending Articles