<?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 : DARenderPageToDC() slowing down form processing.</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 : DARenderPageToDC() slowing down form processing.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 17:42:33 +0000</pubDate>
  <lastBuildDate>Sun, 06 Jun 2010 23:47:31 +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=1474</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[DARenderPageToDC() slowing down form processing. : I am using QuickPDF&amp;#039;s DARenderPageToDC()...]]></title>
   <link>http://www.quickpdf.org/forum/darenderpagetodc-slowing-down-form-processing_topic1474_post6614.html#6614</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1282">Roulette</a><br /><strong>Subject:</strong> 1474<br /><strong>Posted:</strong> 06 Jun 10 at 11:47PM<br /><br />I am using QuickPDF's DARenderPageToDC() function in a background thread in a form-based application.&nbsp; I have tried setting the background thread to ThreadPriority.Lowest.&nbsp; Despite that, when QuickPDF is rendering (to an HDC that is never displayed) processing events on the form becomes very sluggish, often taking over a second to register things like button clicks&nbsp;or moving the form to a new location on the screen.<DIV>&nbsp;</DIV><DIV>I am on an Intel i5 750 (2.67 GHz quad-core) and there are no other background threads running.&nbsp; If I disable the single DARenderPageToDC() line (and leave in the rest of what happens in the background thread such as opening the PDF, retrieving the number of pages,&nbsp;saving the image via a custom function, etc.)&nbsp;the form registers events as quickly as you would expect.</DIV><DIV>&nbsp;</DIV><DIV>Any ideas as to how to&nbsp;use&nbsp;DARenderPageToDC() in a way that is more friendly in a multi-threaded application?&nbsp; I'm assuming that function must be multi-threaded?&nbsp; Can someone confirm that and,&nbsp;if so, what priority are its child threads?</DIV><DIV>&nbsp;</DIV><DIV>- Roulette</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 06 Jun 2010 23:47:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/darenderpagetodc-slowing-down-form-processing_topic1474_post6614.html#6614</guid>
  </item> 
 </channel>
</rss>