<?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 Arc Engine Page Layoutcontrol Get page coordinates from centroid of polygon in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/arc-engine-page-layoutcontrol-get-page-coordinates/m-p/562845#M15171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Help Please.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an Arc Engine application that contains a PAGELAYOUT CONTROL In the code progressing I have acquired the centroid's of some selected polygons in realworld coordinates (ie&amp;nbsp; x = 2484242.45 and Y = 276913.75)&amp;nbsp; I have verified the coordinates are correct in arc map for the selected polygons.&amp;nbsp; I am trying to use the centroid x, y location to be the anchor point for some balloon callouts. thus converting the realworld coordinates to page units (ie x = 1.1 in &amp;amp; y = 4.3in)&amp;nbsp; Here I run into problems.&amp;nbsp; Here is function I found on esri site but Obviously I am missing something and I know it is probably something simple.&amp;nbsp; Can anyone help&amp;nbsp; I am definately not getting page units to anchor the text balloon callouts like I expected.&amp;nbsp; I am thinking I might have to populates some constants prior to running the conversion.&amp;nbsp; Here is the function as I have used it&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; GetScreenCoordinatesFromMapCoorindates(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;ByVal&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; mapPoint &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Geometry.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IPoint&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;ByVal&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; activeView &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Carto.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IActiveView&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;ByVal&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; mapenvelope &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IEnvelope&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Geometry.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IPoint&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; mapPoint &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Is&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Nothing&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;OrElse&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; mapPoint.IsEmpty &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;OrElse&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; activeView &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Is&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Nothing&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;End&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; screenDisplay &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Display.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IScreenDisplay&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; = activeView.ScreenDisplay&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; displayTransformation &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Display.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IDisplayTransformation&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; = screenDisplay.DisplayTransformation&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; x &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; System.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;Int32&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; y &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; System.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;Int32&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;displayTransformation.FromMapPoint(mapPoint, x, y)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; returnPoint &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Geometry.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IPoint&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Geometry.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;PointClass&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;returnPoint.PutCoords(x, y)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Return&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; returnPoint&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;End&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Function&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Dec 2014 20:06:27 GMT</pubDate>
    <dc:creator>BobFolsom</dc:creator>
    <dc:date>2014-12-31T20:06:27Z</dc:date>
    <item>
      <title>Arc Engine Page Layoutcontrol Get page coordinates from centroid of polygon</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/arc-engine-page-layoutcontrol-get-page-coordinates/m-p/562845#M15171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Help Please.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an Arc Engine application that contains a PAGELAYOUT CONTROL In the code progressing I have acquired the centroid's of some selected polygons in realworld coordinates (ie&amp;nbsp; x = 2484242.45 and Y = 276913.75)&amp;nbsp; I have verified the coordinates are correct in arc map for the selected polygons.&amp;nbsp; I am trying to use the centroid x, y location to be the anchor point for some balloon callouts. thus converting the realworld coordinates to page units (ie x = 1.1 in &amp;amp; y = 4.3in)&amp;nbsp; Here I run into problems.&amp;nbsp; Here is function I found on esri site but Obviously I am missing something and I know it is probably something simple.&amp;nbsp; Can anyone help&amp;nbsp; I am definately not getting page units to anchor the text balloon callouts like I expected.&amp;nbsp; I am thinking I might have to populates some constants prior to running the conversion.&amp;nbsp; Here is the function as I have used it&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Function&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; GetScreenCoordinatesFromMapCoorindates(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;ByVal&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; mapPoint &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Geometry.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IPoint&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;ByVal&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; activeView &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Carto.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IActiveView&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;ByVal&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; mapenvelope &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IEnvelope&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Geometry.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IPoint&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; mapPoint &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Is&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Nothing&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;OrElse&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; mapPoint.IsEmpty &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;OrElse&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; activeView &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Is&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Nothing&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;End&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;If&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; screenDisplay &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Display.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IScreenDisplay&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; = activeView.ScreenDisplay&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; displayTransformation &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Display.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IDisplayTransformation&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; = screenDisplay.DisplayTransformation&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; x &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; System.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;Int32&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; y &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; System.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;Int32&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;displayTransformation.FromMapPoint(mapPoint, x, y)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Dim&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; returnPoint &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Geometry.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;IPoint&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;New&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; ESRI.ArcGIS.Geometry.&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: 10pt;"&gt;PointClass&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;returnPoint.PutCoords(x, y)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Return&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; returnPoint&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;End&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: 10pt;"&gt;Function&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 20:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/arc-engine-page-layoutcontrol-get-page-coordinates/m-p/562845#M15171</guid>
      <dc:creator>BobFolsom</dc:creator>
      <dc:date>2014-12-31T20:06:27Z</dc:date>
    </item>
  </channel>
</rss>

