<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : Find all annotations in a PDF</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : Sample Code : Find all annotations in a PDF]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 11 May 2026 22:18:59 +0000</pubDate>
  <lastBuildDate>Mon, 12 Oct 2009 01:34:12 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=1225</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[Find all annotations in a PDF : This is an enhanced version of...]]></title>
   <link>http://www.quickpdf.org/forum/find-all-annotations-in-a-pdf_topic1225_post5657.html#5657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1000">Rowan</a><br /><strong>Subject:</strong> 1225<br /><strong>Posted:</strong> 12 Oct 09 at 1:34AM<br /><br />This is an enhanced version of the Delphi Sample Code:<div><br></div><div>---</div><div><span ="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; line-height: normal; border-collapse: collapse; "><font ="Apple-style-span" color="#0000FF">QP := TQuickPDFQVer.Create;<br>&nbsp;try<br>&nbsp; &nbsp;QP.UnlockKey(' ... ');<br>&nbsp; &nbsp;QP.LoadFromFile('annots.pdf');<br><br>&nbsp; &nbsp;for Page := 1 to QP.PageCount do<br>&nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp;QP.SelectPage(Page);<br>&nbsp; &nbsp; &nbsp;Memo1.Lines.Add('Page ' + IntToStr(Page));<br>&nbsp; &nbsp; &nbsp;for AnnotationIndex := 1 to QP.AnnotationCount do<br>&nbsp; &nbsp; &nbsp;begin<br>&nbsp; &nbsp; &nbsp; &nbsp;Memo1.Lines.Add(' &nbsp;Annotation ' + IntToStr(AnnotationIndex));<br>&nbsp; &nbsp; &nbsp; &nbsp;Memo1.Lines.Add(' &nbsp; &nbsp;Type: ' +<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;QP.GetAnnotStrProperty(</font><font ="Apple-style-span" color="#0000FF"><wbr>AnnotationIndex, 101));<br>&nbsp; &nbsp; &nbsp; &nbsp;Memo1.Lines.Add(' &nbsp; &nbsp;Contents: ' +<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;QP.GetAnnotStrProperty(</font><font ="Apple-style-span" color="#0000FF"><wbr>AnnotationIndex, 102));<br>&nbsp; &nbsp; &nbsp; &nbsp;Memo1.Lines.Add(' &nbsp; &nbsp;Name: ' +<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;QP.GetAnnotStrProperty(</font><font ="Apple-style-span" color="#0000FF"><wbr>AnnotationIndex, 103));<br>&nbsp; &nbsp; &nbsp; &nbsp;Memo1.Lines.Add(' &nbsp; &nbsp;Subject: ' +<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;QP.GetAnnotStrProperty(</font><font ="Apple-style-span" color="#0000FF"><wbr>AnnotationIndex, 127));<br>&nbsp; &nbsp; &nbsp; &nbsp;Memo1.Lines.Add(' &nbsp; &nbsp;Left: ' +<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FormatFloat('0.00', QP.GetAnnotDblProperty(</font><font ="Apple-style-span" color="#0000FF"><wbr>AnnotationIndex, 105)));<br>&nbsp; &nbsp; &nbsp; &nbsp;Memo1.Lines.Add(' &nbsp; &nbsp;In reply to: ' +<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;FormatFloat('0.00', QP.GetAnnotIntProperty(</font><font ="Apple-style-span" color="#0000FF"><wbr>AnnotationIndex, 128)));<br>&nbsp; &nbsp; &nbsp;end;<br>&nbsp; &nbsp;end;</font></span></div><div><font ="Apple-style-span" face="arial, sans-serif" size="3"><span ="Apple-style-span" style="border-collapse: collapse; font-size: 13px; line-height: normal;">---</span></font></div>]]>
   </description>
   <pubDate>Mon, 12 Oct 2009 01:34:12 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/find-all-annotations-in-a-pdf_topic1225_post5657.html#5657</guid>
  </item> 
  <item>
   <title><![CDATA[Find all annotations in a PDF :   Programmatically retrieving...]]></title>
   <link>http://www.quickpdf.org/forum/find-all-annotations-in-a-pdf_topic1225_post5627.html#5627</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1000">Rowan</a><br /><strong>Subject:</strong> 1225<br /><strong>Posted:</strong> 25 Sep 09 at 8:13AM<br /><br /><div>Programmatically retrieving a list of all the various annotations stored inside a PDF is pretty easy when using the <a href="http://www.quickpdflibrary.com/help/quickpdf/Annotati&#111;nCount.php" target="_blank">AnnotationCount</a> and <a href="http://www.quickpdflibrary.com/help/quickpdf/GetAnnotStrProperty.php" target="_blank">GetAnnotStrProperty</a> with Quick PDF Library. An example of how to do this is shown below in C# and Delphi.</div><div><br></div><div><b>C# Sample Code:</b></div><div><br></div><div>---</div><div><div><font ="Apple-style-span" color="#000066">QP.LoadFromFile(txtFilePath.Text);</font></div><div><font ="Apple-style-span" color="#000066"><br></font></div><div><font ="Apple-style-span" color="#000066">for (int i = 1; i &lt;= QP.PageCount(); i++)</font></div><div><font ="Apple-style-span" color="#000066">{</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp; &nbsp;QP.SelectPage(i);</font></div><div><font ="Apple-style-span" color="#000066"><br></font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp; &nbsp;txtLog.Text = txtLog.Text + "Page " + Convert.ToString(i) + " has " + QP.AnnotationCount() + " annotations." + "\r\n" + "\r\n";</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp; &nbsp;</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp; &nbsp;for (int d = 1; d &lt; QP.AnnotationCount(); d++)</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp; &nbsp;{</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;string AnnotType = QP.GetAnnotStrProperty(d, 101);</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;txtLog.Text = txtLog.Text + AnnotType + "\r\n";</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp; &nbsp;}</font></div><div><font ="Apple-style-span" color="#000066">}</font></div><div>---</div><div><br></div><div><b>Delphi Sample Code:</b></div><div><br></div><div>---</div><div><div><font ="Apple-style-span" color="#000066">Memo5.Lines.BeginUpdate;</font></div><div><font ="Apple-style-span" color="#000066">Memo5.Lines.Clear;</font></div><div><font ="Apple-style-span" color="#000066">ProgressBar1.Max := QP.PageCount;</font></div><div><font ="Apple-style-span" color="#000066"><br></font></div><div><font ="Apple-style-span" color="#000066">for Page := 1 to QP.PageCount do</font></div><div><font ="Apple-style-span" color="#000066">begin</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp;QP.SelectPage(Page);</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp;ProgressBar1.Position := Page;</font></div><div><font ="Apple-style-span" color="#000066"><br></font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp;Memo5.Lines.Add('Page ' + IntToStr(Page) + ' has ' +</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;IntToStr(QP.AnnotationCount) + ' annotations');</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp;for AnnotIndex := 1 to QP.AnnotationCount do</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp;begin</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;AnnotType := QP.GetAnnotStrProperty(AnnotIndex, 101);</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;Memo5.Lines.Add('Annot number ' + IntToStr(AnnotIndex) + ' on this page has type: ' + AnnotType);</font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp;end;</font></div><div><font ="Apple-style-span" color="#000066"><br></font></div><div><font ="Apple-style-span" color="#000066">&nbsp;&nbsp;Memo5.Lines.Add('');</font></div><div><font ="Apple-style-span" color="#000066">end;</font></div></div><div>---</div></div>]]>
   </description>
   <pubDate>Fri, 25 Sep 2009 08:13:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/find-all-annotations-in-a-pdf_topic1225_post5627.html#5627</guid>
  </item> 
 </channel>
</rss>