<?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 : Stamping Rotated Pages...</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 : Stamping Rotated Pages...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 02 Jul 2026 19:56:58 +0000</pubDate>
  <lastBuildDate>Sat, 17 Jun 2006 11:41:40 +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=421</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[Stamping Rotated Pages... : Hi,  Yes, the rotating of the...]]></title>
   <link>http://www.quickpdf.org/forum/stamping-rotated-pages_topic421_post1965.html#1965</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1">Michel_K17</a><br /><strong>Subject:</strong> 421<br /><strong>Posted:</strong> 17 Jun 06 at 11:41AM<br /><br />Hi,<br /><br />&nbsp;&nbsp;&nbsp;Yes, the rotating of the origin took me a while to figure out, but I finally got it working. I published all of my source code on this forum &#091;<a href="http://www.quickpdf.org/forum/forum_posts.asp?TID=184&PN=1" target="_blank">here</a>&#093;.<br /><br />&nbsp;&nbsp;&nbsp;The source contains a lot of code in order to place the text in any corner, or as a watermark, so you should be able to delete what is not relevant to you. Finally, the lines that are key for what you are looking for are these:<br /><br /><font color="blue">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Check for page rotation.<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If oPDF.PageRotation = 0 Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' Set origin to Upper LH<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtn = oPDF.SetOrigin(1)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PageHeight = oPDF.PageHeight<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PageWidth = oPDF.PageWidth<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' Set origin to Lower LH (before page is rotated for viewing)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtn = oPDF.SetOrigin(0)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' In this rotation, X&Y are reversed, Height is Width & Vice versa<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PageHeight = oPDF.PageWidth<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PageWidth = oPDF.PageHeight<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br /><br />.<br />.<br />.<br />.<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Apply the text to the page<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If oPDF.PageRotation = 0 Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtn = oPDF.DrawRotatedText(x, y, i, Temp)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtn = oPDF.DrawRotatedText(y, x, 90 + i, Temp)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br /><br /></font><br /><br />&nbsp;&nbsp;&nbsp;Cheers!<br /><br />Michel.]]>
   </description>
   <pubDate>Sat, 17 Jun 2006 11:41:40 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/stamping-rotated-pages_topic421_post1965.html#1965</guid>
  </item> 
  <item>
   <title><![CDATA[Stamping Rotated Pages... : I have pdf files that need to...]]></title>
   <link>http://www.quickpdf.org/forum/stamping-rotated-pages_topic421_post1868.html#1868</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=145">cverhoff</a><br /><strong>Subject:</strong> 421<br /><strong>Posted:</strong> 23 May 06 at 4:43PM<br /><br /><P>I have pdf files that need to be rotated and then stamped at the bottom of the page.&nbsp; They are 8 1/2 x 11 inch pages in landscape position that need to be rotated to portrait position.&nbsp; When I use the RotatePage Function it also changes the co-ordinate system by 90 degress so that when I try to stamp at the bottom of the 8 1/2 x 11 portrait page it actually stamps on the left or right side not the bottom.&nbsp; Can someone help me? &nbsp;I tried adjusting using the SetOrigin function but nothing I try seems to work.&nbsp; I would GREATLY APPRECIATE ANY aSSISTANCE.</P><P>&nbsp;</P><P>THANKS,</P><P>CURTIS</P>]]>
   </description>
   <pubDate>Tue, 23 May 2006 16:43:40 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/stamping-rotated-pages_topic421_post1868.html#1868</guid>
  </item> 
 </channel>
</rss>