logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
gffranca  
#1 Posted : Thursday, November 19, 2020 6:05:19 AM(UTC)
Quote
gffranca

Rank: Member

Groups: Registered
Joined: 11/1/2019(UTC)
Posts: 23
Brazil
Location: Rio de Janeiro

Thanks: 2 times
Was thanked: 4 time(s) in 3 post(s)
Hi all, I'm using the exact BoundingBox location of the pdfTextObject(txtObj), but sometimes it returns the wrong index:

Code:
viewer.Document.Pages[currentPageIndex].Text.GetCharIndexAtPos(txtObj.BoundingBox.left, txtObj.BoundingBox.top, 10f, 10f)


Am I doing something wrong? In this case, I won't use any approximate location of the txtObj.


Thanks in advance!
Quick Reply Show Quick Reply
Users browsing this topic
Guest (2)
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.