<?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 : PageWidth/PageHeight sometimes problem</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 : PageWidth/PageHeight sometimes problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 23:29:34 +0000</pubDate>
  <lastBuildDate>Sun, 20 May 2018 00:45:06 +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=3569</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[PageWidth/PageHeight sometimes problem : I use equivalent logic, but have...]]></title>
   <link>http://www.quickpdf.org/forum/pagewidth-pageheight-sometimes-problem_topic3569_post14233.html#14233</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1532">HNRSoftware</a><br /><strong>Subject:</strong> 3569<br /><strong>Posted:</strong> 20 May 18 at 12:45AM<br /><br /><div>I use equivalent logic, but have separate conversion to and from strings so I can avoid having to memorize them.</div><div><br></div><div>This rotation question was just the tip of the iceberg on actually working with page boxes (primarily "CropBox").&nbsp; I don't think I am discovering any actual bugs, but the way it works with rotated pdfs is a trifle weird.&nbsp; The default origin for QuickPDF is lower right, and I am an old Delphi guy and insist on working with (0,0) as the upper left corner.&nbsp; I've just tried writing some sentences describing the counter-intuitive nature of working with rectangle heights and widths and file page heights and widths in a page with a 90 degree rotation, and gave up -- X-ish terms cause Y-ish changes -- I may figure out the simple interpretation, but I'm not there yet.</div><div><br></div><div>This is fun, in a masochistic way....<br></div>]]>
   </description>
   <pubDate>Sun, 20 May 2018 00:45:06 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pagewidth-pageheight-sometimes-problem_topic3569_post14233.html#14233</guid>
  </item> 
  <item>
   <title><![CDATA[PageWidth/PageHeight sometimes problem : I can never remember what the...]]></title>
   <link>http://www.quickpdf.org/forum/pagewidth-pageheight-sometimes-problem_topic3569_post14232.html#14232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1539">rweetch</a><br /><strong>Subject:</strong> 3569<br /><strong>Posted:</strong> 20 May 18 at 12:21AM<br /><br />I can never remember what the integer values mean so I created a pdf.types file which contains enumerated types for the values I use a lot e.g. TpdfMeasurementUnits = (pmuPoint, pmuMillimetres, pmuInches, pmuPixels). I then have a class helper with proxy properties (in the case MeasurementUnits) and methods which then call the appropriate methods on the underlying DebenuPDF object.&nbsp;<div><br></div><div><br></div>]]>
   </description>
   <pubDate>Sun, 20 May 2018 00:21:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pagewidth-pageheight-sometimes-problem_topic3569_post14232.html#14232</guid>
  </item> 
  <item>
   <title><![CDATA[PageWidth/PageHeight sometimes problem : YES! - that was it. I was so focused...]]></title>
   <link>http://www.quickpdf.org/forum/pagewidth-pageheight-sometimes-problem_topic3569_post14230.html#14230</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1532">HNRSoftware</a><br /><strong>Subject:</strong> 3569<br /><strong>Posted:</strong> 18 May 18 at 10:29PM<br /><br />YES! - that was it.&nbsp; I was so focused on "orientation" that I did not think about "rotation".&nbsp; That will probably affect my CropBox weirdness as well.&nbsp; Thank you for pointing me in this direction.&nbsp; Howard<br>]]>
   </description>
   <pubDate>Fri, 18 May 2018 22:29:16 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pagewidth-pageheight-sometimes-problem_topic3569_post14230.html#14230</guid>
  </item> 
  <item>
   <title><![CDATA[PageWidth/PageHeight sometimes problem : Have you checked the page rota...]]></title>
   <link>http://www.quickpdf.org/forum/pagewidth-pageheight-sometimes-problem_topic3569_post14229.html#14229</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1539">rweetch</a><br /><strong>Subject:</strong> 3569<br /><strong>Posted:</strong> 18 May 18 at 8:26PM<br /><br />Have you checked the page rotation?&nbsp;<div><br></div><div>http://www.debenu.com/docs/pdf_library_reference/PageRotation.php&nbsp;</div><div><br></div><div>maybe that might help shed some light on it<div><br></div></div>]]>
   </description>
   <pubDate>Fri, 18 May 2018 20:26:36 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pagewidth-pageheight-sometimes-problem_topic3569_post14229.html#14229</guid>
  </item> 
  <item>
   <title><![CDATA[PageWidth/PageHeight sometimes problem : This one is driving me crazy....]]></title>
   <link>http://www.quickpdf.org/forum/pagewidth-pageheight-sometimes-problem_topic3569_post14227.html#14227</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1532">HNRSoftware</a><br /><strong>Subject:</strong> 3569<br /><strong>Posted:</strong> 18 May 18 at 4:05PM<br /><br /><div>This one is driving me crazy.&nbsp; I have pretty simple code that opens a file, loads a page, sets origin to "1" (Top left), measurementunits to "2" (inches), and and then fetches PageHeight and PageWidth.&nbsp; It works just fine for "normal" paper pages such as 8.5x11 and 11x8.5.&nbsp; My problem is an architectural drawing which is 36" wide by 24" tall.&nbsp; Adobe Acrobat reports it correctly and renders it correctly (as a wide image).&nbsp; QuickPDF also renders it as a wide image, but "GetPageHeight" and "GetPageWidth" return the wrong values -- they say that the page is 24" wide by 36" tall.</div><div><br></div><div>Simplifying out the origin and measurement units doesn't change anything significant. My sequence is: .Create/.UnlockKey/.LoadFromFile/.SelectPage and then use .PageWidth and .PageHeight.</div><div><br></div><div>GetPageBox calls return similarly wrong information.</div><div><br></div><div>Documentation search does not return anything on "orientation" which is the sort of thing I would expect to control a situation like this.</div><div><br></div><div>Anyone have any ideas as to what might be going on?&nbsp; It is theoretically possible that the file was created oddly, but Acrobat is happy with it and QuickPDF renders it rationally.&nbsp; I can provide the file as needed.<br></div><div><br></div><div>thanks - Howard</div><div><br></div><div>P.S. - when I get this one nailed down, I will go on to weirdness in SetCropBox and the PageBoxes.<br></div><span style="font-size:10px"><br /><br />Edited by HNRSoftware - 18 May 18 at 4:06PM</span>]]>
   </description>
   <pubDate>Fri, 18 May 2018 16:05:22 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/pagewidth-pageheight-sometimes-problem_topic3569_post14227.html#14227</guid>
  </item> 
 </channel>
</rss>