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

TOPIC:

addAnnotMarkup returns false 6 years 10 months ago #12445

  • Stegmann
  • Stegmann's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hi, I've tried calling addAnnotMarkup but it always returns false without any clear idea why.

this is my usage:

returnValue = [m_page addAnnotMarkup:index1 :index2 :3 :color];

"
index1 = 0
index2 = 29
color = -256 (yellow)
"

I've called

[m_view vRenderSync:pageNo];
[self refresh];

afterwards but no highlights show up.

I don't see any methods on the API like getLastErrorMessage() to get an idea of the internal state or why I was using the API incorrectly. If they don't exist please can you add them in future releases so that someone without a copy of the C/C++ source code can debug their applications.

* Please note it's a password protected PDF

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

Last edit: by Stegmann.

addAnnotMarkup returns false 6 years 10 months ago #12446

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Three reasons could rise annotation creation failure:
- you aren't activating a Professional or Premium license
- you're working on a file without writing permissions
- you're working on a file with limited password (not owner)

May you check the above points?
The following user(s) said Thank You: Stegmann

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

  • Page:
  • 1
Powered by Kunena Forum