Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Planned SDK features
  • Page:
  • 1

TOPIC:

When can I set and get annotation data? 7 years 5 months ago #11419

  • netmate
  • netmate's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
I want to know when I can add or import annotation information after opening a PDF.

I try to access from OnCreate of PDFViewAct but can not receive Annotation information.

Can you tell when the data is loaded in Lib?

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

When can I set and get annotation data? 7 years 5 months ago #11421

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
You can access these info immediately after openning the PDF, but make sure to call Page.ObjStart first.

E.X.:
m_view.PDFOpen(m_doc, PDFViewAct.this);
Page mPage = m_doc.GetPage(mPageNo);
mPage.ObjsStart();
mPage.GetAnnotCount();

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

  • Page:
  • 1
Powered by Kunena Forum