<?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 : Page dimensions are wrong</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 : Page dimensions are wrong]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 23:21:09 +0000</pubDate>
  <lastBuildDate>Thu, 12 Aug 2010 13:20:07 +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=1534</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[Page dimensions are wrong : &amp;gt;I have a last question about...]]></title>
   <link>http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6832.html#6832</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1000">Rowan</a><br /><strong>Subject:</strong> 1534<br /><strong>Posted:</strong> 12 Aug 10 at 1:20PM<br /><br /><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">&gt;&nbsp;I have a last question about the dmensions : how to resize a&nbsp;</span><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">&gt; page and delete permently the margins or the cropped area ?</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">It's not currently possible to permanently delete the objects that are outside of the cropped area -- however, we're looking at adding support for redacting objects that lay outside a certain area in the future.</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">As a workaround you could crop the document, update the MediaBox using the dimensions retrieved from the CropBox using the GetPageBox function and then render the PDF to an image and then convert it back to a PDF.</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">This would ensure that there was no hidden objects anymore, but then you would have a PDF file without any actual text (just an image of text) and no interactive elements (i.e. form fields, annotations, etc). So it's a bit of a hack, but might work for you in some cases.</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">Cheers,</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">- Rowan.</span></div>]]>
   </description>
   <pubDate>Thu, 12 Aug 2010 13:20:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6832.html#6832</guid>
  </item> 
  <item>
   <title><![CDATA[Page dimensions are wrong : Hi,  So, that&amp;#039;s a hard...]]></title>
   <link>http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6828.html#6828</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1322">Louis</a><br /><strong>Subject:</strong> 1534<br /><strong>Posted:</strong> 11 Aug 10 at 2:46PM<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>So, that's a hard job ! Pdf files may be very long and complex !!</DIV><DIV>Anyway, PageBox is more useful.</DIV><DIV>&nbsp;</DIV><DIV>I have a last question about the dmensions : how to resize a page and delete permently the margins or the cropped area ?</DIV><DIV>&nbsp;</DIV><DIV>Louis</DIV>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 14:46:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6828.html#6828</guid>
  </item> 
  <item>
   <title><![CDATA[Page dimensions are wrong : Hi!You can treat the document...]]></title>
   <link>http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6827.html#6827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1534<br /><strong>Posted:</strong> 11 Aug 10 at 2:26PM<br /><br />Hi!<br><br>You can treat the document like normal ascii-code.<br>Read it into a string with "normal" syntax of your IDE and read the content with POS or something similar.<br><br>Thanks for the PageBox-hint ;-)<br><br>Cheers, Ingo<br><br>BTW: This is a user-user-forum - so your feature-request here won't be succesfully ;-)<br>&nbsp;<br>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 14:26:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6827.html#6827</guid>
  </item> 
  <item>
   <title><![CDATA[Page dimensions are wrong : My last question (decrypted file)...]]></title>
   <link>http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6826.html#6826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1322">Louis</a><br /><strong>Subject:</strong> 1534<br /><strong>Posted:</strong> 11 Aug 10 at 2:19PM<br /><br />My last question (decrypted file) is still interesting for me, but I found a simple solution to get the real dimensions of the pages : <DIV>The GetPageBox function can return the real height or the real width of the selected page.</DIV><DIV>So, that's nice. I'll use this function instead of PageHeight and PageWidth.</DIV><DIV>&nbsp;</DIV><DIV>Louis</DIV>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 14:19:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6826.html#6826</guid>
  </item> 
  <item>
   <title><![CDATA[Page dimensions are wrong : Hi again,   How to save to an...]]></title>
   <link>http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6823.html#6823</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1322">Louis</a><br /><strong>Subject:</strong> 1534<br /><strong>Posted:</strong> 11 Aug 10 at 1:49PM<br /><br />Hi again, <DIV>&nbsp;</DIV><DIV>How to save to an decrypted file and looking into the source ? My files are not encrypted, so the function DecryptFile returns 0.</DIV><DIV>&nbsp;</DIV><DIV>Louis</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 13:49:44 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6823.html#6823</guid>
  </item> 
  <item>
   <title><![CDATA[Page dimensions are wrong : Could you plan to add this feature...]]></title>
   <link>http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6821.html#6821</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1322">Louis</a><br /><strong>Subject:</strong> 1534<br /><strong>Posted:</strong> 11 Aug 10 at 9:36AM<br /><br />Could you plan to add this feature (very useful) in QP ?]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 09:36:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6821.html#6821</guid>
  </item> 
  <item>
   <title><![CDATA[Page dimensions are wrong :  Hi Louis!Not with QP-functionality.You...]]></title>
   <link>http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6818.html#6818</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1534<br /><strong>Posted:</strong> 11 Aug 10 at 6:20AM<br /><br />Hi Louis!<br><br>Not with QP-functionality.<br>You can save an decrypted file and then looking directly into the source.<br>There you'll find these values.<br><br>Cheers, Ingo<br><br><span style="font-size:10px"><br /><br />Edited by Ingo - 11 Aug 10 at 6:21AM</span>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 06:20:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6818.html#6818</guid>
  </item> 
  <item>
   <title><![CDATA[Page dimensions are wrong : Hi,   I have found why the dimensions...]]></title>
   <link>http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6817.html#6817</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1322">Louis</a><br /><strong>Subject:</strong> 1534<br /><strong>Posted:</strong> 10 Aug 10 at 3:27PM<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I have found why the dimensions may be wrong, compared to the size we get in Adobe :</DIV><DIV>The QuickPDF dimensions (got with PageHeight and PageWidth) include the margins when the document has been resized. Adobe doesn't.</DIV><DIV>&nbsp;</DIV><DIV>Is there a way to get the margins, or to get the real size of the pages ?</DIV><DIV>&nbsp;</DIV><DIV>Louis</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 10 Aug 2010 15:27:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6817.html#6817</guid>
  </item> 
  <item>
   <title><![CDATA[Page dimensions are wrong : Sorry, the file is for another...]]></title>
   <link>http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6802.html#6802</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1322">Louis</a><br /><strong>Subject:</strong> 1534<br /><strong>Posted:</strong> 06 Aug 10 at 3:43PM<br /><br />Sorry, the file is for another topic.]]>
   </description>
   <pubDate>Fri, 06 Aug 2010 15:43:32 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6802.html#6802</guid>
  </item> 
  <item>
   <title><![CDATA[Page dimensions are wrong : I&amp;#039;m sending the file by email......]]></title>
   <link>http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6801.html#6801</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1322">Louis</a><br /><strong>Subject:</strong> 1534<br /><strong>Posted:</strong> 06 Aug 10 at 3:42PM<br /><br />I'm sending the file by email...]]>
   </description>
   <pubDate>Fri, 06 Aug 2010 15:42:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/page-dimensions-are-wrong_topic1534_post6801.html#6801</guid>
  </item> 
 </channel>
</rss>