Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Annotation Text
  FAQ FAQ  Forum Search   Register Register  Login Login

Annotation Text

 Post Reply Post Reply
Author
Message
jcorral View Drop Down
Beginner
Beginner


Joined: 06 Mar 12
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcorral Quote  Post ReplyReply Direct Link To This Post Topic: Annotation Text
    Posted: 04 Jun 12 at 6:50PM
Hello,

it´s possible get the text for all the notes in a file and his page number?

Thanks
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 07 Jun 12 at 2:15PM

The following code should do what you need.  You will need to read the reference manual to see what other options are available.

for (page = 1; page <= QP.PageCount();page++)
{
  QP.SelectPage(page);
  int count = QP.AnnotationCount();

  for (int i=1;i<=count;i++)
  {
    string text = QP.GetAnnotStrProperty(i, 102);  // Contents.
  
    MessageBox.Show("page = " + page.ToString() + " Contents = " + text);
  }
Back to Top
jcorral View Drop Down
Beginner
Beginner


Joined: 06 Mar 12
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcorral Quote  Post ReplyReply Direct Link To This Post Posted: 07 Jun 12 at 6:23PM
perfect, thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store