Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Selecting text using crops

More
IP: 192.168.0.71 11 years 9 months ago #6428 by alexpdf
Hello,

is it possible to get the text selection highlight working with the PDF Crop demo? I am doings some tests here trying to find the correct math in order to propertly highlight the selected text when the page is drawn using crops (for example, 9x9 blocks).

Any advice or directions?

Thanks
More
IP: 192.168.0.71 11 years 9 months ago #6429 by alexpdf
Replied by alexpdf on topic Selecting text using crops
Ok, I just found that I can use
Code:
PDFVSel#DrawSel( Canvas canvas, float scale, float page_height, int orgx, int orgy )
, which appears to do pretty much I was expecting, without the need to worry about each individual dib.

Thanks for the great library, btw :).
Time to create page: 0.422 seconds
Powered by Kunena Forum