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

Calculating rect size for AddAnnotEditbox

More
10 years 11 months ago - 10 years 11 months ago #9376 by artkön
Hi, I would like to display a text in an editbox annotation as one-liner.
How can I calculate the proper bounding box for the method AddAnnotEditbox?

Is there any function for calculating text sizes in PDF coordinate system?
Last edit: 10 years 11 months ago by artkön.
More
10 years 11 months ago - 10 years 11 months ago #9392 by Davide
Hi,
sorry for the delay, there are no direct API to do this.
I suggest you to look at Android method getTextBounds and to use this to handle the rect of the AddAnnotEditbox method.
Last edit: 10 years 11 months ago by Davide.
Time to create page: 0.431 seconds
Powered by Kunena Forum