<?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 Re: Map coordinates into pagelayout paper coordinates in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/map-coordinates-into-pagelayout-paper-coordinates/m-p/61083#M1669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So the method you're using is described in the documentation as converting a point on the page to pixels.&amp;nbsp; I think what you are after is to convert a map pt to a page pt?&amp;nbsp; If so, trying looking up the IDisplayTransformation interface's "FromMapPoint" method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Nov 2010 15:57:51 GMT</pubDate>
    <dc:creator>SteveFang</dc:creator>
    <dc:date>2010-11-17T15:57:51Z</dc:date>
    <item>
      <title>Map coordinates into pagelayout paper coordinates</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/map-coordinates-into-pagelayout-paper-coordinates/m-p/61082#M1668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Map coordinates into pagelayout paper coordinates.What I use is FromPagePoint function??but my map coordinates changed, paper coordinates unchanged.why??How to deal with?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 06:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/map-coordinates-into-pagelayout-paper-coordinates/m-p/61082#M1668</guid>
      <dc:creator>luqing</dc:creator>
      <dc:date>2010-11-17T06:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Map coordinates into pagelayout paper coordinates</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/map-coordinates-into-pagelayout-paper-coordinates/m-p/61083#M1669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So the method you're using is described in the documentation as converting a point on the page to pixels.&amp;nbsp; I think what you are after is to convert a map pt to a page pt?&amp;nbsp; If so, trying looking up the IDisplayTransformation interface's "FromMapPoint" method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 15:57:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/map-coordinates-into-pagelayout-paper-coordinates/m-p/61083#M1669</guid>
      <dc:creator>SteveFang</dc:creator>
      <dc:date>2010-11-17T15:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Map coordinates into pagelayout paper coordinates</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/map-coordinates-into-pagelayout-paper-coordinates/m-p/61084#M1670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So the method you're using is described in the documentation as converting a point on the page to pixels.&amp;nbsp; I think what you are after is to convert a map pt to a page pt?&amp;nbsp; If so, trying looking up the IDisplayTransformation interface's "FromMapPoint" method.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you for your answer,I have try, but it don't&amp;nbsp; work.when i input different map pt, but output the same page pt.why? this is my code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IActiveViewPtr is PageLayout&amp;nbsp; property&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void CPlotView::MapToLayoutview(IActiveViewPtr&amp;amp; pActiveview,double dMapX,double dMapY,int&amp;amp; iScrX,int&amp;amp; iScrY)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; IPointPtr ipMapPt(CLSID_Point);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; long X,Y;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ipMapPt-&amp;gt;PutCoords(dMapX,dMapY);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; IScreenDisplayPtr m_pScreendisp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; pActiveview-&amp;gt;get_ScreenDisplay(&amp;amp;m_pScreendisp);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; IDisplayTransformationPtr m_pDisplaytransfor;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; m_pScreendisp-&amp;gt;get_DisplayTransformation(&amp;amp;m_pDisplaytransfor);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; m_pDisplaytransfor-&amp;gt;FromMapPoint(ipMapPt,&amp;amp;X,&amp;amp;Y);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; iScrX=int(X);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; iScrY=int(Y);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 04:39:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/map-coordinates-into-pagelayout-paper-coordinates/m-p/61084#M1670</guid>
      <dc:creator>luqing</dc:creator>
      <dc:date>2010-11-22T04:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Map coordinates into pagelayout paper coordinates</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/map-coordinates-into-pagelayout-paper-coordinates/m-p/61085#M1671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Lu,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you find an answer to this one?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried using the same code but it doesn't give the right screen coordinates back.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 23:01:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/map-coordinates-into-pagelayout-paper-coordinates/m-p/61085#M1671</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2013-04-05T23:01:59Z</dc:date>
    </item>
  </channel>
</rss>

