<?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 : Extracting Page Numbers as a Variable</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 : I need help - I can help : Extracting Page Numbers as a Variable]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 00:20:13 +0000</pubDate>
  <lastBuildDate>Thu, 23 May 2013 02:48:18 +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=2650</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[Extracting Page Numbers as a Variable : DG,The second approach usig the...]]></title>
   <link>http://www.quickpdf.org/forum/extracting-page-numbers-as-a-variable_topic2650_post10875.html#10875</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2650<br /><strong>Posted:</strong> 23 May 13 at 2:48AM<br /><br /><div>DG,</div><div><br></div><div>The second approach usig the DA functions will be the fastest as it doesn't need to load the entire file into memory.</div><div><br></div><div>&nbsp; QP.LoadFromFile("4pages.pdf", "");</div><div>&nbsp; int pageCount = QP<span style="line-height: 1.4;">.PageCount();</span></div><div><span style="line-height: 1.4;">&nbsp; QP.RemoveDocument(QP.SelectedDocument());</span></div><div><br></div><div>or</div><div><br></div><div>&nbsp; int fh = QP.DAOpenFile("4pages.pdf", "");</div><div>&nbsp; int pageCount = QP.DAGetPageCount(fh);</div><div>&nbsp; QP.DACloseFile(fh);</div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Thu, 23 May 2013 02:48:18 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/extracting-page-numbers-as-a-variable_topic2650_post10875.html#10875</guid>
  </item> 
  <item>
   <title><![CDATA[Extracting Page Numbers as a Variable :   Hi DG!Yes. It&amp;#039;s possible.What&amp;#039;s...]]></title>
   <link>http://www.quickpdf.org/forum/extracting-page-numbers-as-a-variable_topic2650_post10870.html#10870</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2650<br /><strong>Posted:</strong> 22 May 13 at 12:18PM<br /><br />Hi DG!<div>&nbsp;</div><div>Yes. It's possible.</div><div>What's the next question?&nbsp;&nbsp;&nbsp; :)</div><div>Use one of the first step codes.</div><div>Put in a LoadFromFile...</div><div>...and then use function PageCount.</div><div>&nbsp;</div><div>Cheers and welcome here,</div><div>Ingo</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Wed, 22 May 2013 12:18:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/extracting-page-numbers-as-a-variable_topic2650_post10870.html#10870</guid>
  </item> 
  <item>
   <title><![CDATA[Extracting Page Numbers as a Variable : hi,    I need to extract the page...]]></title>
   <link>http://www.quickpdf.org/forum/extracting-page-numbers-as-a-variable_topic2650_post10869.html#10869</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2381">datagraphic</a><br /><strong>Subject:</strong> 2650<br /><strong>Posted:</strong> 22 May 13 at 10:38AM<br /><br />hi,<div>&nbsp; &nbsp; &nbsp; &nbsp; I need to extract the page numbers contained in a PDF.</div><div><br></div><div>&nbsp;ie If there are 4 pages in the PDF i need to extract the number 4 and use it for calcualtions on another piece of software in a&nbsp;continuous&nbsp;automated process.</div><div><br></div><div>Is this possible?</div><div><br></div><div>DG. &nbsp;:-)</div>]]>
   </description>
   <pubDate>Wed, 22 May 2013 10:38:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/extracting-page-numbers-as-a-variable_topic2650_post10869.html#10869</guid>
  </item> 
 </channel>
</rss>