Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC:

Text Annotation 3 years 11 months ago #15179

  • mobileapps@dewa.gov.ae
  • mobileapps@dewa.gov.ae's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Dear Team,
How to add and edit Text annotation in RadaeePDF Library?

Thanks & Regards
Ponlingam S

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

Text Annotation 3 years 11 months ago #15180

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
if you mean add editbox has no UI, you just only need invoke Page.AddAnnotEditBox();
if you mean need integrate into PDFLayoutView,
you shall do like rectangle annotation.
1. implement OnEditboxTouchBegin/OnEditboxTouchMove/OnEditboxTouchEnd same to OnRectTouchBegin/OnRectTouchMove/OnRectTouchEnd, except status check need modified.
2. implement osDrawEditbox same to osDrawRects, except status check need modified.
3. implement vEditboxStart/vEditboxEnd/vEditboxCancel like vRectStart/vRectEnd/vRectCancel. you need 2 change point:
a). status check need modified.
b). in vEditboxEnd method, [page addAnnotRect] shall change to [page addAnnotEditbox];

in this way, editbox added to page not display input keyboard, you shall click on editbox after editbox status ended.

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

  • Page:
  • 1
Powered by Kunena Forum