<?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 : LoadFromCanvasDC</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 : LoadFromCanvasDC]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 17:37:52 +0000</pubDate>
  <lastBuildDate>Mon, 31 May 2010 07:59:33 +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=1455</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[LoadFromCanvasDC : May be, that I wrong understand...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromcanvasdc_topic1455_post6575.html#6575</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1320">Jan</a><br /><strong>Subject:</strong> 1455<br /><strong>Posted:</strong> 31 May 10 at 7:59AM<br /><br />May be, that I wrong understand what you want...<DIV>When you ask for rendering graphics using GDI+ , that my answer is no.</DIV><DIV>Every my attempt to render graphics with GDI+ and than save it as PDF fault.</DIV><DIV>I have only example with make grafics using <FONT color=#a31515 size=2><FONT color=#a31515 size=2>gdi32.dll <FONT color=#000000>library and then save this to PDF file using <FONT size=2><P>LoadFromCanvasDC and <FONT size=2>SaveToFile.</P></FONT></FONT></FONT></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Mon, 31 May 2010 07:59:33 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromcanvasdc_topic1455_post6575.html#6575</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromCanvasDC : Hi!  I make only one attempt...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromcanvasdc_topic1455_post6574.html#6574</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1320">Jan</a><br /><strong>Subject:</strong> 1455<br /><strong>Posted:</strong> 31 May 10 at 7:50AM<br /><br />Hi!<DIV></DIV><DIV>I make only one attempt to rendering PDF on screen with Quick PDF library.</DIV><DIV>I easy overwrite Form1.OnPanit procedure.</DIV><DIV>This is not correct using rendering, this only show me, that rendering with library is possible.</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>protected</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>override</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>void</FONT></FONT><FONT size=2> OnPaint(</FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>PaintEventArgs</FONT></FONT><FONT size=2> e)</P><DIV>{<FONT color=#2b91af size=2><FONT color=#2b91af size=2></DIV><P>Graphics</FONT></FONT><FONT size=2> g = e.Graphics;</P><DIV><FONT size=2><P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>/* Rendering with s QuickPDF */</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>string</FONT></FONT><FONT size=2> fileName = </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>@"c:\temp\file_to_render.pdf"</FONT></FONT><FONT size=2>;</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>string</FONT></FONT><FONT size=2> fileVystup = </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>@"c:\temp\fromQuickPDF.pdf"</FONT></FONT><FONT size=2>;</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>string</FONT></FONT><FONT size=2> licenseKey = </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"&lt;your licence key&gt;"</FONT></FONT><FONT size=2>; </P><DIV></FONT><FONT size=2></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>int</FONT></FONT><FONT size=2> vysledek;</DIV><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>int</FONT></FONT><FONT size=2> FileHandle;</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>// Create the library. A blank document is automatically created at this point</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>PDFLibrary</FONT></FONT><FONT size=2> qp = </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>new</FONT></FONT><FONT size=2> </FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>PDFLibrary</FONT></FONT><FONT size=2>(</FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"C:\\Program Files\\Quick PDF Library\\DLL\\QuickPDFDLL0719.dll"</FONT></FONT><FONT size=2>);</P><P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>// Unlock the library</P></FONT></FONT><FONT size=2><P>qp.UnlockKey(licenseKey);</P><P></P><P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>// Check to see if the library has been successfully unlocked</P></FONT></FONT><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>if</FONT></FONT><FONT size=2> (qp.Unlocked() == 1)</P><P>{</P><P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>// open file</P><DIV></FONT></FONT><FONT size=2>FileHandle = qp.DAOpenFileReadOnly(fileName, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>""</FONT></FONT><FONT size=2>);</DIV><P></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>// rendering file</P><DIV></FONT></FONT><FONT size=2>vysledek = qp.DARenderPageToDC(FileHandle, qp.DAFindPage(FileHandle, 1), 100, g.GetHdc().ToInt32());</FONT><P><FONT color=#008000 size=2><FONT color=#008000 size=2></P><P></P><P></P></FONT></FONT><FONT size=2>}</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>&nbsp;</DIV></FONT></DIV></FONT></FONT></DIV>]]>
   </description>
   <pubDate>Mon, 31 May 2010 07:50:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromcanvasdc_topic1455_post6574.html#6574</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromCanvasDC : Hi !   Before purchasing the...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromcanvasdc_topic1455_post6568.html#6568</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1308">mulfycrowh</a><br /><strong>Subject:</strong> 1455<br /><strong>Posted:</strong> 29 May 10 at 6:50AM<br /><br />Hi !<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Before purchasing the library, I would like to render a PDF file on the screen.</DIV><DIV>I have been building my project under VC++ and DirectX.</DIV><DIV>I asked many questions to know how to render under DirectX.</DIV><DIV>I was told by&nbsp;technical support it would be better to use GDI+.</DIV><DIV>Well, I am trying to do so.</DIV><DIV>Do you have any sample under GDI+ ?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Many Thanks&nbsp; !</DIV>]]>
   </description>
   <pubDate>Sat, 29 May 2010 06:50:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromcanvasdc_topic1455_post6568.html#6568</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromCanvasDC : Hi,  let me ask: Isany way touse...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromcanvasdc_topic1455_post6545.html#6545</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1320">Jan</a><br /><strong>Subject:</strong> 1455<br /><strong>Posted:</strong> 24 May 10 at 1:21PM<br /><br />Hi, <DIV>let me ask:</DIV><DIV>Is&nbsp;any way to&nbsp;use another canvasDC than canvas create with &nbsp;GetCanvasDC?</DIV><DIV>I have a program for printing. I use GDI+ from .NET. </DIV><DIV>From this same data&nbsp;I can generate a PDF file&nbsp;using command from&nbsp;PDF library with another program. </DIV><DIV>If had been able use a PaintEventArgs.Graphics (exactly PaintEventArgs.Graphics<FONT size=2>.GetHdc()</FONT>) as a canvas&nbsp;instead of GetCanvasDC - I could have only one &nbsp;program.</DIV><DIV>Thanks!</DIV><DIV>Jan</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 24 May 2010 13:21:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromcanvasdc_topic1455_post6545.html#6545</guid>
  </item> 
 </channel>
</rss>