<?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 : Scanning</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 : Scanning]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 18:53:46 +0000</pubDate>
  <lastBuildDate>Mon, 12 Feb 2007 03:12:06 +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=636</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[Scanning : Hi,just a small explanation: default...]]></title>
   <link>http://www.quickpdf.org/forum/scanning_topic636_post2931.html#2931</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=370">ukobsa</a><br /><strong>Subject:</strong> 636<br /><strong>Posted:</strong> 12 Feb 07 at 3:12AM<br /><br />Hi,<br><br>just a small explanation: default setting for QuickPDF is to have it's origin on bottom-left. DrawImage uses as position the top-left corner of the image. So when you draw an image at position (0,0) it is drawn completely outside the page (exactly: below the page).<br>SetOrigin(1) now sets QuickPDFs origin to top-left so that now drawing an image at (0,0) starts to draw it in the top-left corner of the page.<br><br><br>HTH,<br>Ulrich<br>]]>
   </description>
   <pubDate>Mon, 12 Feb 2007 03:12:06 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/scanning_topic636_post2931.html#2931</guid>
  </item> 
  <item>
   <title><![CDATA[Scanning : I have a lot of commented-out...]]></title>
   <link>http://www.quickpdf.org/forum/scanning_topic636_post2928.html#2928</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=312">bb46970</a><br /><strong>Subject:</strong> 636<br /><strong>Posted:</strong> 12 Feb 07 at 2:12AM<br /><br />I have a lot of commented-out code, because I was trying so many different things.&nbsp; Basically, I got down to this:<DIV>&nbsp;</DIV><DIV>Image.SaveToFile('test.bmp');</DIV><DIV>iID := QP.AddImageFromFile('test.bmp', 0);</DIV><DIV>if iID &lt;&gt; 0 then<BR>&nbsp; begin<BR>&nbsp;&nbsp;&nbsp; QP.SetTransparency(0);</DIV><DIV>&nbsp;&nbsp;&nbsp; QP.SelectImage(iID);</DIV><DIV>&nbsp;&nbsp;&nbsp; QP.DrawText(100, 500, 'Page 1');</DIV><DIV>&nbsp;&nbsp;&nbsp; QP.NewPage();</DIV><DIV>&nbsp;&nbsp;&nbsp; QP.DrawScaledImage(0, 0, 1);</DIV><DIV>&nbsp;&nbsp;&nbsp; QP.SaveToFile('test.pdf');</DIV><DIV>&nbsp; end;</DIV><DIV>&nbsp;</DIV><DIV>After you post, I added:</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; QP.SetOrigin(1);</DIV><DIV>which got the image to draw.</DIV><DIV>However, the sizing was off.&nbsp; I added:</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; QP.SetMeasurementUnits(2);</DIV><DIV>and changed DrawScaledImage to:</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; QP.DrawImage(0, 0, 8.5, 11);</DIV><DIV>It seems to work now.</DIV><DIV>&nbsp;</DIV><DIV>Thanks.</DIV><DIV><BR>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 12 Feb 2007 02:12:01 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/scanning_topic636_post2928.html#2928</guid>
  </item> 
  <item>
   <title><![CDATA[Scanning : Hi!I&amp;#039;ve no problems with...]]></title>
   <link>http://www.quickpdf.org/forum/scanning_topic636_post2927.html#2927</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 636<br /><strong>Posted:</strong> 12 Feb 07 at 1:51AM<br /><br />Hi!<br><br>I've no problems with these functions.<br>Perhaps you should try SetOrigin and/or SetMeasurementUnits...<br>Posting a code-snippet here could be helpful to help ;-)<br><br>Best regards,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Mon, 12 Feb 2007 01:51:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/scanning_topic636_post2927.html#2927</guid>
  </item> 
  <item>
   <title><![CDATA[Scanning : Up until now, I just have been...]]></title>
   <link>http://www.quickpdf.org/forum/scanning_topic636_post2924.html#2924</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=312">bb46970</a><br /><strong>Subject:</strong> 636<br /><strong>Posted:</strong> 11 Feb 07 at 5:39PM<br /><br /><P>Up until now, I just have been using QuickPDF for printing.&nbsp; Now, I want to scan documents and save them as PDFs.&nbsp; I am able to scan the documents as bitmaps, without a problem.&nbsp; To add the image, I have tried&nbsp; "QP.AddImageFromStream."&nbsp; I also tried saving the bitmap as a file and then call&nbsp;"QP.AddImageFromFile."&nbsp; The bitmap file is correct.&nbsp; To draw the image, I have tried both "QP.DrawScaledImage" and "QP.DrawImage."&nbsp; I have also varied the parameters, with each of the methods.&nbsp; The PDF file size indicates that the bitmap is saved to the PDF; however, the only part that is visible a black border at the bottom of the scanned page.&nbsp; I am able to add text, to the same PDF, with QP.DrawText, without a problem.</P><DIV></DIV><DIV></DIV>Thanks<DIV>David</DIV>]]>
   </description>
   <pubDate>Sun, 11 Feb 2007 17:39:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/scanning_topic636_post2924.html#2924</guid>
  </item> 
 </channel>
</rss>