<?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 : Problem with SetTextSize</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 : Problem with SetTextSize]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 18:31:24 +0000</pubDate>
  <lastBuildDate>Thu, 21 Jan 2010 10:16:47 +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=1320</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[Problem with SetTextSize : Hi Ingo  You are right! I moved...]]></title>
   <link>http://www.quickpdf.org/forum/problem-with-settextsize_topic1320_post6045.html#6045</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1230">Phil</a><br /><strong>Subject:</strong> 1320<br /><strong>Posted:</strong> 21 Jan 10 at 10:16AM<br /><br />Hi Ingo<DIV>&nbsp;</DIV><DIV>You are right! I moved SelectPage and SetOrigin. Now it works!</DIV><DIV>Thanks very much!</DIV><DIV>&nbsp;</DIV><DIV>Phil</DIV>]]>
   </description>
   <pubDate>Thu, 21 Jan 2010 10:16:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-with-settextsize_topic1320_post6045.html#6045</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with SetTextSize : Hi Phil! Call QP.SelectPage(1)...]]></title>
   <link>http://www.quickpdf.org/forum/problem-with-settextsize_topic1320_post6044.html#6044</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1320<br /><strong>Posted:</strong> 21 Jan 10 at 9:11AM<br /><br />Hi Phil!<br><br> Call QP.SelectPage(1) and  Call QP.SetOrigin(0) should be inserted before SelectFont...<br>If the AddTrueType returns with a zero then the function already fails - check this please.<br>What was the returning value from SelectFont... success or not?<br>Perhaps you should do few samples with the standard-fonts already installed. Does it works with the standard-fonts?<br><br>Cheers and welcome here,<br>Ingo<br>]]>
   </description>
   <pubDate>Thu, 21 Jan 2010 09:11:43 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-with-settextsize_topic1320_post6044.html#6044</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with SetTextSize : Hello,  I want to insert footer...]]></title>
   <link>http://www.quickpdf.org/forum/problem-with-settextsize_topic1320_post6043.html#6043</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1230">Phil</a><br /><strong>Subject:</strong> 1320<br /><strong>Posted:</strong> 21 Jan 10 at 7:05AM<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>I want to insert footer text (page numbers) in a existing pdf document. But I'm not able to set the text size. Here's my VB code (sample):</DIV><DIV>&nbsp;</DIV><DIV>Sub DemoSetTextSize()<BR>&nbsp; ClassName = "QuickPDFAX0717.PDFLibrary"<BR>&nbsp; LicenseKey = "..."<BR>&nbsp; Set QP = CreateObject(ClassName)<BR>&nbsp; Result = QP.UnlockKey(LicenseKey)<BR>&nbsp; If Result = 1 Then<BR>&nbsp;&nbsp;&nbsp; Call QP.LoadFromFile("C:\MyPDF.pdf")<BR>&nbsp;&nbsp;&nbsp; lngFontID = QP.AddTrueTypeFont("Arial", 1)<BR>&nbsp;&nbsp;&nbsp; Call QP.SelectFont(lngFontID)<BR>&nbsp;&nbsp;&nbsp; Call QP.SetTextSize(50)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&lt;-&nbsp;HAS NO EFFECT!<BR>&nbsp;&nbsp;&nbsp; Call QP.SelectPage(1)<BR>&nbsp;&nbsp;&nbsp; Call QP.SetOrigin(0)<BR>&nbsp;&nbsp;&nbsp; strPageText = "My Footer Text"<BR>&nbsp;&nbsp;&nbsp; dblTextWidth = QP.GetTextWidth(strPageText)<BR>&nbsp;&nbsp;&nbsp; Call QP.DrawText((QP.PageWidth() / 2) - dblTextWidth / 2, 30, strPageText)</DIV><DIV>&nbsp;&nbsp;&nbsp; Call QP.SaveToFile("C:\MyPDF.pdf")<BR>&nbsp; End If<BR>End Sub<BR></DIV><DIV>Everything works, except setting the text size. Regardless of which font I use. When I don't select the font, the Helvetica 12pt is used, as mentioned in the manual. Even then, I can't set the size. Any idea?</DIV><DIV>&nbsp;</DIV><DIV>Kind regards,</DIV><DIV>Phil</DIV>]]>
   </description>
   <pubDate>Thu, 21 Jan 2010 07:05:53 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/problem-with-settextsize_topic1320_post6043.html#6043</guid>
  </item> 
 </channel>
</rss>