<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Scale in printed map (mxd) is different in code to manual printing in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/scale-in-printed-map-mxd-is-different-in-code-to/m-p/451380#M12257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have tried printing an A3 mxd with the &lt;/SPAN&gt;&lt;A href="http://edndoc.esri.com/arcobjects/9.2/NET/025b5da7-9b10-4623-a51e-c038c348ce29.htm"&gt;Print Active View code &lt;/A&gt;&lt;SPAN&gt;as published by ESRI and have changed only one line of code and that is, to change it to A3 size.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;docPaper.FormID = 8;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This forces it to a size of A3 instead of the default 0 Letter size (esriPageFormLetter).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map prints out fine(ish) but it is not to scale i.e. the map is supposed to be 1:10000, but the space between the graticule grids is 9.7cm, not 10cm as it should be.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I print the EXACT same mxd out, but via the manual method i.e. in ArcMap itself,&amp;nbsp; File -&amp;gt; Print.&amp;nbsp; The scale is correct and it measures 10cm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Important to note that I have not changed any of the Page and Print Setup settings between the two prints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why would it do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See pic below to help understand whats going on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://img819.imageshack.us/img819/1959/scalemapcomparison.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Feb 2011 08:34:54 GMT</pubDate>
    <dc:creator>SimonEarnshaw</dc:creator>
    <dc:date>2011-02-17T08:34:54Z</dc:date>
    <item>
      <title>Scale in printed map (mxd) is different in code to manual printing</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/scale-in-printed-map-mxd-is-different-in-code-to/m-p/451380#M12257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have tried printing an A3 mxd with the &lt;/SPAN&gt;&lt;A href="http://edndoc.esri.com/arcobjects/9.2/NET/025b5da7-9b10-4623-a51e-c038c348ce29.htm"&gt;Print Active View code &lt;/A&gt;&lt;SPAN&gt;as published by ESRI and have changed only one line of code and that is, to change it to A3 size.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;docPaper.FormID = 8;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This forces it to a size of A3 instead of the default 0 Letter size (esriPageFormLetter).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map prints out fine(ish) but it is not to scale i.e. the map is supposed to be 1:10000, but the space between the graticule grids is 9.7cm, not 10cm as it should be.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I print the EXACT same mxd out, but via the manual method i.e. in ArcMap itself,&amp;nbsp; File -&amp;gt; Print.&amp;nbsp; The scale is correct and it measures 10cm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Important to note that I have not changed any of the Page and Print Setup settings between the two prints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why would it do this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See pic below to help understand whats going on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://img819.imageshack.us/img819/1959/scalemapcomparison.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 08:34:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/scale-in-printed-map-mxd-is-different-in-code-to/m-p/451380#M12257</guid>
      <dc:creator>SimonEarnshaw</dc:creator>
      <dc:date>2011-02-17T08:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Scale in printed map (mxd) is different in code to manual printing</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/scale-in-printed-map-mxd-is-different-in-code-to/m-p/451381#M12258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can't believe no one, in the history of using ArcObjects, has ever printed a map in their application.&amp;nbsp; Are these forums just dead or something?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 16:57:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/scale-in-printed-map-mxd-is-different-in-code-to/m-p/451381#M12258</guid>
      <dc:creator>SimonEarnshaw</dc:creator>
      <dc:date>2011-02-24T16:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Scale in printed map (mxd) is different in code to manual printing</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/scale-in-printed-map-mxd-is-different-in-code-to/m-p/451382#M12259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah, the forums ain't what they used to be...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you printing from data view or page layout view?&amp;nbsp; If you don't change the form id, does it print at the correct scale?&amp;nbsp; What happens if you go into the page properties in ArcMap and select A3, then run your code with the A3 form id value?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 19:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/scale-in-printed-map-mxd-is-different-in-code-to/m-p/451382#M12259</guid>
      <dc:creator>NeilClemmons</dc:creator>
      <dc:date>2011-02-24T19:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Scale in printed map (mxd) is different in code to manual printing</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/scale-in-printed-map-mxd-is-different-in-code-to/m-p/451383#M12260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are printing in PageLayout,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;could you add a ScaleText.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have also problems that the ScaleText is always different when printing the same view from ArcObjects code or directorly in ArcMap.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 11:54:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/scale-in-printed-map-mxd-is-different-in-code-to/m-p/451383#M12260</guid>
      <dc:creator>TomSchuller</dc:creator>
      <dc:date>2011-02-25T11:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Scale in printed map (mxd) is different in code to manual printing</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/scale-in-printed-map-mxd-is-different-in-code-to/m-p/451384#M12261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I export map layouts using a mapserver object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/java_ao_adf/api/arcobjects/com/esri/arcgis/carto/MapServer.html#exportLayout%28com.esri.arcgis.carto.IPageDescription,%20com.esri.arcgis.carto.IImageDescription%29"&gt;http://help.arcgis.com/en/sdk/10.0/java_ao_adf/api/arcobjects/com/esri/arcgis/carto/MapServer.html#exportLayout%28com.esri.arcgis.carto.IPageDescription,%20com.esri.arcgis.carto.IImageDescription%29&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some good background info that might also be the case for .NET (I'm assuming you're in .NET).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But then again, my users are seeing the exported map layout in a browser, so there are other print issues at play there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An unrelated issue I have using export layout is that ordered stiple polygon styles appear in square groups of dots, whereas exporting the map image doesn't have that problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only reason we export layout is to get the custom legend we created in the mxd.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Feb 2011 13:31:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/scale-in-printed-map-mxd-is-different-in-code-to/m-p/451384#M12261</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2011-02-25T13:31:52Z</dc:date>
    </item>
  </channel>
</rss>

