Can I set popup content in text annotations? - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Can I set popup content in text annotations?

Can I set popup content in text annotations? 2 years 7 months ago #11418

  • netmate
  • netmate's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
I use the 3.9RC1 version library.

I want to add text annotations and add pop-up content.
But, text annotations do not include pop-up content.
Below is the code I use.

bResult always returns false..

-code-
Page.AddAnnotEditbox (m_annot_rect, 15, 100, 100, fsize, 100);

Annotation annot = page.GetAnnot (page.GetAnnotCount () - 1);
Annot.SetPopupOpen (true);

Boolean bResult1 = annot.SetPopupSubject ( "Subject");
Boolean bResult2 = annot.SetPopupText ( "Text");


help me!!

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

Can I set popup content in text annotations? 2 years 7 months ago #11422

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 868
  • Karma: 23
  • Thank you received: 71
annot.SetPopupSubject ( "Subject");
annot.SetPopupText ( "Text");

Can be used only with Page.AddAnnotText or Page.AddAnnotPopup, that's why it's not working with Page.AddAnnotEditbox.
For example, check PDFLayoutView.PDFEditAnnot

With Page.AddAnnotEditbox, you can use Annotation.SetEditText
For example, check PDFLayoutView.onEditAnnot

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

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