<?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 : [SOLVED]Force changes</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 : [SOLVED]Force changes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 03:52:26 +0000</pubDate>
  <lastBuildDate>Mon, 25 Jul 2016 15:49:20 +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=3361</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[[SOLVED]Force changes : Hi friends,Is there any function...]]></title>
   <link>http://www.quickpdf.org/forum/solvedforce-changes_topic3361_post13362.html#13362</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2887">bitusonline</a><br /><strong>Subject:</strong> 3361<br /><strong>Posted:</strong> 25 Jul 16 at 3:49PM<br /><br /><div>Hi friends,</div><div><br></div><div>Is there any function to force the update of the changes?</div><div><br></div><div>Problem:</div><div><br></div><div>I need to merge two pages on one.</div><div>I use CapturePage and&nbsp;DrawCapturedPage to this.</div><div><br></div><div>This works only if i save an then load file again.</div><div><br></div><div><span style="line-height: 1.4;">I suppose the changes should be applied before using&nbsp;</span><span style="line-height: 16.8px;">CapturePage/</span><span style="line-height: 16.8px;">DrawCapturedPage.</span></div><div><span style="line-height: 16.8px;"><br></span></div><div><span style="line-height: 16.8px;"><br></span></div><div><span style="line-height: 16.8px;">Example:</span></div><div><br></div><div><span style="line-height: 16.8px;"><b><font color="#ff0000">This dont Works:</font></b></span></div><div><span style="line-height: 16.8px;">1 - NewDocument (Create blank&nbsp;</span><span style="line-height: 16.8px;">New_PDF</span><span style="line-height: 16.8px;">)</span></div><div><span style="line-height: 16.8px;">2 - LoadFromFile(PDF_1) and&nbsp;</span><span style="line-height: 16.8px;">CopyPageRanges to&nbsp;</span><span style="line-height: 16.8px;">New_PDF</span><span style="line-height: 16.8px;">(page1)</span></div><div><span style="line-height: 16.8px;">3 - LoadFromFile(PDF_2) and&nbsp;</span><span style="line-height: 16.8px;">CopyPageRanges to&nbsp;</span><span style="line-height: 16.8px;">New_PDF</span><span style="line-height: 16.8px;">&nbsp;(page 2)</span></div><div><span style="line-height: 16.8px;">4 - SelectDocument(New_PDF)</span></div><div><span style="line-height: 16.8px;">5 - NormalizePage(1);</span></div><div><span style="line-height: 16.8px;">5 -&nbsp;</span><span style="line-height: 16.8px;">CapturePage(Page2) form&nbsp;</span><span style="line-height: 16.8px;">New_PDF</span><span style="line-height: 16.8px;">&nbsp;and&nbsp;</span><span style="line-height: 16.8px;">DrawCapturedPage</span><span style="line-height: 16.8px;">&nbsp;in&nbsp;</span><span style="line-height: 16.8px;">New_PDF(page1)</span></div><div><span style="line-height: 16.8px;">6 - SaveToFile(</span><span style="line-height: 16.8px;">New_PDF</span><span style="line-height: 16.8px;">)</span></div><div><span style="line-height: 16.8px;"><br></span></div><div><br></div><div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;"><b>This Works:</b></span></div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;">1 - NewDocument (Create blank&nbsp;</span><span style="line-height: 16.8px;">New_PDF</span><span style="line-height: 16.8px;">)</span></div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;">2 - LoadFromFile(PDF_1) and&nbsp;</span><span style="line-height: 16.8px;">CopyPageRanges to&nbsp;</span><span style="line-height: 16.8px;">New_PDF</span><span style="line-height: 16.8px;">&nbsp;(page1)</span></div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;">3 - LoadFromFile(PDF_2) and&nbsp;</span><span style="line-height: 16.8px;">CopyPageRanges to&nbsp;</span><span style="line-height: 16.8px;">New_PDF</span><span style="line-height: 16.8px;">&nbsp;</span><span style="line-height: 16.8px;">(page2)</span></div><div style="line-height: 16.8px;"><b style="line-height: 16.8px;"><span style="line-height: 16.8px;">4 - SaveToFile/Stream(</span><span style="line-height: 16.8px;">New_PDF</span><span style="line-height: 16.8px;">)</span></b></div><div style="line-height: 16.8px;"><b><span style="line-height: 16.8px;">5 - LoaFromFile/Stream(</span><span style="line-height: 16.8px;"><span style="line-height: 16.8px;">New_PDF</span></span><span style="line-height: 16.8px;">)</span></b></div><div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;">6 -&nbsp;</span><span style="line-height: 16.8px;">CapturePage(page2) form&nbsp;</span><span style="line-height: 16.8px;">New_PDF</span><span style="line-height: 16.8px;">&nbsp;and&nbsp;</span><span style="line-height: 16.8px;">DrawCapturedPage</span><span style="line-height: 16.8px;">&nbsp;in&nbsp;</span><span style="line-height: 16.8px;">New_PDF (page1)</span></div><div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;">7 - SaveToFile(</span><span style="line-height: 16.8px;">New_PDF</span><span style="line-height: 16.8px;">)</span></div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;"><br></span></div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;"><br></span></div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;">EDIT: I found my mistake.</span></div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;"><br></span></div><div>I assumed that&nbsp;<span style="line-height: 16.8px;">SetOrigin and&nbsp;</span><span style="line-height: 16.8px;">SetMeasurementUnits</span><span style="line-height: 16.8px;">&nbsp;</span><span style="line-height: 1.4;">was global, however must be set for each document... T</span><span style="line-height: 1.4;">hen, New Document are using different metrics.</span></div><div><br></div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;">Setting this after NewDocument &nbsp;creation solved the problem.</span></div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;"><div style="line-height: 16.8px;"><br></div></span></div></div></div></div><div style="line-height: 16.8px;"><span style="line-height: 16.8px;"><br></span></div><span style="font-size:10px"><br /><br />Edited by bitusonline - 25 Jul 16 at 5:21PM</span>]]>
   </description>
   <pubDate>Mon, 25 Jul 2016 15:49:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/solvedforce-changes_topic3361_post13362.html#13362</guid>
  </item> 
 </channel>
</rss>