Rank: Member
Groups: Registered
Joined: 11/1/2019(UTC) Posts: 19 Location: Rio de Janeiro Thanks: 2 times Was thanked: 1 time(s) in 1 post(s)
|
DrawTextHighlight() takes around 10ms for each entry in the HighlightInfo list. With 40 distinct highlights, interaction with the viewer is practically impossible, taking around 400ms. How can I adjust the PdfViewer to optimize the OnPaint event when there is more than one HighlightInfo?
The current implementation seems somewhat inconsistent. Painting 40 highlights, each with one word selected, takes longer than painting the entire document (covered in 1 HighlightInfo).
I currently use version 4.54.2704. However, I haven't found any differences compared to the latest version.
Perhaps this issue is related to the following functions: GetRectsFromTextInfoWithoutSpaceCharacter() PadRectangles()
Could anyone help resolve this issue?
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close