Calculating rect size for AddAnnotEditbox - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Calculating rect size for AddAnnotEditbox

Calculating rect size for AddAnnotEditbox 3 years 3 months ago #9376

  • artkön
  • artkön's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
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?

Please Log in or Create an account to join the conversation.

Last edit: by artkön.

Calculating rect size for AddAnnotEditbox 3 years 3 months ago #9392

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
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.

Please Log in or Create an account to join the conversation.

Last edit: by Davide.
  • Page:
  • 1
Powered by Kunena Forum