<?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 : Shade background</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 : Shade background]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 05 May 2026 10:22:17 +0000</pubDate>
  <lastBuildDate>Tue, 03 Aug 2010 21:22:02 +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=1527</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[Shade background : worked great. I am a bone head...]]></title>
   <link>http://www.quickpdf.org/forum/shade-background_topic1527_post6782.html#6782</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=872">waynefulcher</a><br /><strong>Subject:</strong> 1527<br /><strong>Posted:</strong> 03 Aug 10 at 9:22PM<br /><br />worked great. I am a bone head I forget what the ranges were for the RGB colors.]]>
   </description>
   <pubDate>Tue, 03 Aug 2010 21:22:02 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/shade-background_topic1527_post6782.html#6782</guid>
  </item> 
  <item>
   <title><![CDATA[Shade background : Hi Wayne!I&amp;#039;ve taken some...]]></title>
   <link>http://www.quickpdf.org/forum/shade-background_topic1527_post6781.html#6781</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1527<br /><strong>Posted:</strong> 03 Aug 10 at 9:14PM<br /><br />Hi Wayne!<br><br>I've taken some code out of one of my components:<br>//. . .<br>var<br>colr, colg, colb : Double;<br><br>&nbsp; if ( rgb1 = '' ) then<br>&nbsp;&nbsp;&nbsp;&nbsp; rgb1 := '1,0';<br>&nbsp; if ( rgb2 = '' ) then<br>&nbsp;&nbsp;&nbsp;&nbsp; rgb2 := '1,0';<br>&nbsp; if ( rgb3 = '' ) then<br>&nbsp;&nbsp;&nbsp;&nbsp; rgb3 := '1,0';<br><br>&nbsp; colr := StrToFloat(rgb1);<br>&nbsp; colg := StrToFloat(rgb2);<br>&nbsp; colb := StrToFloat(rgb3);<br><br>&nbsp; QP2 := TQuickPDF0717.Create;<br>&nbsp; try <br>&nbsp;&nbsp;&nbsp;&nbsp; QP2.UnlockKey('...');<br>//&nbsp;&nbsp; . . .<br>&nbsp;&nbsp;&nbsp;&nbsp; QP2.SetFillColor(colr,colg,colb);<br>//&nbsp;&nbsp; . . .<br>&nbsp;&nbsp;&nbsp;&nbsp; QP2.DrawText(...);<br>//&nbsp;&nbsp; . . .<br>&nbsp; Finally<br>&nbsp;&nbsp;&nbsp;&nbsp; QP2.SaveToFile...;<br>&nbsp;&nbsp;&nbsp;&nbsp; QP2.Free;<br>&nbsp; end;<br>//. . .<br>&nbsp; <br>Please keep in mind that we're talking about RGB-colors.<br>The max-value for R, G and B is 1! <br>...(1.0, 1.0, 1.0) means white <br>...(0.0, 0.0, 0.0) means black.<br>Make some tests with values below 1.0 ...<br><br>Cheers, Ingo<br><br><br>]]>
   </description>
   <pubDate>Tue, 03 Aug 2010 21:14:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/shade-background_topic1527_post6781.html#6781</guid>
  </item> 
  <item>
   <title><![CDATA[Shade background : I want to draw some text (in black)...]]></title>
   <link>http://www.quickpdf.org/forum/shade-background_topic1527_post6780.html#6780</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=872">waynefulcher</a><br /><strong>Subject:</strong> 1527<br /><strong>Posted:</strong> 03 Aug 10 at 6:28PM<br /><br />I want to draw some text (in black) then fill the background with a light gray color.<DIV>Can anyone give me an example of how to do that.</DIV><DIV>I have tried transparency and setfillcolor and nothing seems to work.</DIV><DIV>Here is a snippet of my code.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; x := LeftMargin ;<BR>&nbsp;&nbsp;&nbsp; PDF.DrawText(x, y, 'Form ID') ;<BR>&nbsp;&nbsp;&nbsp; PDF.DrawText(x+wFormID, y, 'Form Description') ;<BR>&nbsp;&nbsp;&nbsp; y := y + LineHeight ;<BR>&nbsp;&nbsp;&nbsp; PDF.DrawText(x, y, 'Pages') ;<BR>&nbsp;&nbsp;&nbsp; PDF.DrawText(x+wFormID, y, 'DCN') ;<BR>&nbsp;&nbsp;&nbsp; y := y + (LineHeight div 4) ;<BR>&nbsp;&nbsp;&nbsp; PDF.DrawLine(x, y, PDF.PageWidth-RightMargin, y) ;<BR>&nbsp;&nbsp;&nbsp; // Here is where I want to shade the background and I have no idea what colors make light gray<BR>&nbsp;&nbsp;&nbsp; PDF.SetFillColor(10,10,10) ;<BR>&nbsp;&nbsp;&nbsp; PDF.SetTransparency(70) ;</DIV><DIV>&nbsp;&nbsp;&nbsp; PDF.DrawBox(LeftMargin, SaveY, PDF.PageWidth-LeftMargin-RightMargin, y-SaveY, 2) ;<BR>&nbsp;&nbsp;&nbsp; PDF.SetTransparency(0) ;<BR>&nbsp;&nbsp;&nbsp; y := y + LineHeight ;</DIV>]]>
   </description>
   <pubDate>Tue, 03 Aug 2010 18:28:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/shade-background_topic1527_post6780.html#6780</guid>
  </item> 
 </channel>
</rss>