<?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 : DrawCapturedPage is Drawing off artboard</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 : DrawCapturedPage is Drawing off artboard]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 13:27:27 +0000</pubDate>
  <lastBuildDate>Fri, 24 Feb 2012 16:50:45 +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=2171</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[DrawCapturedPage is Drawing off artboard : That did the trick gentlemen......]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9227.html#9227</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1871">dptulk</a><br /><strong>Subject:</strong> 2171<br /><strong>Posted:</strong> 24 Feb 12 at 4:50PM<br /><br />That did the trick gentlemen... &nbsp;Thank you.]]>
   </description>
   <pubDate>Fri, 24 Feb 2012 16:50:45 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9227.html#9227</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPage is Drawing off artboard :   Hi,I see another small problem....]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9223.html#9223</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1569">edvoigt</a><br /><strong>Subject:</strong> 2171<br /><strong>Posted:</strong> 24 Feb 12 at 10:10AM<br /><br /><div>Hi,<br><br>I see another small problem. You try to delete all pages. Only because of<br><br>"<i><b>PageCount</b> The total number of pages to delete. The value will be automatically adjusted if<br>necessary so that the document is left with at least one page.</i>"<br><br>DeletePages deletes only numpages-1. This potential to come in error, when making the code for more than only test.<br><br><br>Cheers,<br>Werner<br></div><br><span style="font-size:10px"><br /><br />Edited by edvoigt - 24 Feb 12 at 12:55PM</span>]]>
   </description>
   <pubDate>Fri, 24 Feb 2012 10:10:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9223.html#9223</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPage is Drawing off artboard : dptulk is correct.The origin is...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9221.html#9221</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2171<br /><strong>Posted:</strong> 24 Feb 12 at 8:46AM<br /><br />dptulk is correct.<div><br></div><div>The origin is located in the bottom left corner and the y axis increases as you go up the page. &nbsp;This is the default for Postscript and PDF.</div><div><br></div><div>Call QP.SetOrigin(1) &nbsp;just before you call QP.SetPageSize() and it should work well.</div><div><br></div>]]>
   </description>
   <pubDate>Fri, 24 Feb 2012 08:46:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9221.html#9221</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPage is Drawing off artboard : So the origin of the source and...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9220.html#9220</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1871">dptulk</a><br /><strong>Subject:</strong> 2171<br /><strong>Posted:</strong> 24 Feb 12 at 3:41AM<br /><br />So the origin of the source and the origin of the destination are both bottom left? &nbsp;That seems strange. &nbsp;I will give it a shot.<span ="Apple-tab-span" style="white-space:pre">	</span><div><br></div>]]>
   </description>
   <pubDate>Fri, 24 Feb 2012 03:41:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9220.html#9220</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPage is Drawing off artboard : A PDF origin is the bottom left...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9219.html#9219</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1571">jpbro</a><br /><strong>Subject:</strong> 2171<br /><strong>Posted:</strong> 24 Feb 12 at 2:50AM<br /><br />A PDF origin is the bottom left corner as opposed to the top left as you might intuitively expect.<br><br>Try calling QP.SetOrigin 1 to change the origin to the top-left corner before drawing.<br><br>]]>
   </description>
   <pubDate>Fri, 24 Feb 2012 02:50:18 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9219.html#9219</guid>
  </item> 
  <item>
   <title><![CDATA[DrawCapturedPage is Drawing off artboard : I have some vb code that I am...]]></title>
   <link>http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9218.html#9218</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1871">dptulk</a><br /><strong>Subject:</strong> 2171<br /><strong>Posted:</strong> 24 Feb 12 at 2:14AM<br /><br />I have some vb code that I am using to try to imposition some pages. &nbsp;It took me forever to figure it out but the drawcapturedpage command is drawing it far off of the current page. &nbsp;are there any known issues with this? &nbsp;Is there something that I am missing?<div><br></div><div>Here is the code that I am using:</div><div><div>&nbsp;QP.LoadFromFile(SrcFileName, "")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim numpages As Integer = QP.PageCount</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim pagewidth = QP.PageWidth()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim pageheight = QP.PageHeight()</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; MsgBox("There are " &amp; numpages &amp; " in the " &amp; pagewidth &amp; " x " &amp; pageheight &amp; " document.")</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim ThisCaptureID = QP.CapturePage(2)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.NewPage()</div><div>&nbsp; &nbsp; &nbsp; &nbsp; 'QP.SetPageDimensions(1224, 792)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetPageSize("Tabloid")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetFillColor(1, 1, 0)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.DrawBox(0, 0, 1224, 792, 1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Dim Capt = QP.DrawCapturedPage(ThisCaptureID, 0, 0, pagewidth, pageheight)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MsgBox(Capt)</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.DeletePages(1, numpages)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SaveToFile("newfile.pdf")</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP = Nothing</div></div><div><br></div>]]>
   </description>
   <pubDate>Fri, 24 Feb 2012 02:14:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/drawcapturedpage-is-drawing-off-artboard_topic2171_post9218.html#9218</guid>
  </item> 
 </channel>
</rss>