<?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="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Print page margins</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Print page margins]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 04:41:53 +0000</pubDate>
  <lastBuildDate>Tue, 20 May 2014 08:47:06 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=22304</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Print page margins : HiIt is not a good idea to use...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22304&amp;PID=72503&amp;title=print-page-margins#72503</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 22304<br /><strong>Posted:</strong> 20 May 2014 at 8:47am<br /><br />Hi<br><br>It is not a good idea to use different bases for margin metrics.<br><table width="99%"><tr><td><pre class="BBcode"><br>CRect&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_rcMargins;&nbsp;&nbsp; // Margins (mm*100 or inches*1000)<br></pre></td></tr></table><br>in class CXTPPrintOptions.<br><br>Example/problem:<br><br><div align="left"><ul><li>You start ReportSample with language settings of Enlish (USA).</li></ul><blockquote><img src="uploads/3301/Page_setup_US.png" height="575" width="556" border="0" /></blockquote></div><br><blockquote>Margins will be initialized to a half inch.<br></blockquote><br><ul><li>Now change at runtime your local to e.g. "Germany (Germany)":</li></ul><blockquote><img src="uploads/3301/Page_setup_Germany.png" height="575" width="556" border="0" /><br></blockquote><br>I expect that 0,5" is equal to 12,7mm.<br>If you print at different locales, you have different page margins.<br><br>I suggest to use always HIMETRICS or HIENGLISH unit type and only convert units for dialog. Or it's a helper necessary which saves the actual metric mode, because not to convert a value twice in WM_SETTINGCHANGE.<br><br>Have a nice day<br><br>]]>
   </description>
   <pubDate>Tue, 20 May 2014 08:47:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22304&amp;PID=72503&amp;title=print-page-margins#72503</guid>
  </item> 
 </channel>
</rss>