<?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: Equivalent of AxMapControl interface in ArcMap in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/equivalent-of-axmapcontrol-interface-in-arcmap/m-p/301969#M7838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,I figured it out. tagRECT is giving me current extent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IActiveView activeView = ArcMap.Document.FocusMap as IActiveView;&lt;/P&gt;&lt;P&gt; IDisplayTransformation DT = activeView.ScreenDisplay.DisplayTransformation;&lt;/P&gt;&lt;P&gt; tagRECT deviceRECT = DT.get_DeviceFrame();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Aug 2015 10:02:19 GMT</pubDate>
    <dc:creator>Durga_PrasadD</dc:creator>
    <dc:date>2015-08-13T10:02:19Z</dc:date>
    <item>
      <title>Equivalent of AxMapControl interface in ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/equivalent-of-axmapcontrol-interface-in-arcmap/m-p/301967#M7836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to draw a graphic in current visible portion of the map.I am using &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DrawGraphic(0,0,0axMapControl.Width, axMapControl.Height)&lt;/STRONG&gt; in stand-alone ArcEngine application.Both Height and Width in this case return Integer.What is the equivalent of this,if the same has to be done in ArcMap.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 17:48:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/equivalent-of-axmapcontrol-interface-in-arcmap/m-p/301967#M7836</guid>
      <dc:creator>Durga_PrasadD</dc:creator>
      <dc:date>2015-08-11T17:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent of AxMapControl interface in ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/equivalent-of-axmapcontrol-interface-in-arcmap/m-p/301968#M7837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want to get the width and height of map, or do you want the method to draw graphics? If you want equivalent of axMapControl.width and height, then get active view first, then get ActiveView.Extent (&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//001200000199000000" title="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#//001200000199000000"&gt;ArcObjects Help for .NET developers&lt;/A&gt;​) It returns IEnvelope, which has height and width (&lt;A href="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/IEnvelope_Interface/002m00000169000000/" title="http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html#/IEnvelope_Interface/002m00000169000000/"&gt;ArcObjects Help for .NET developers&lt;/A&gt;). Is it what you are looking for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 19:46:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/equivalent-of-axmapcontrol-interface-in-arcmap/m-p/301968#M7837</guid>
      <dc:creator>YuanLiu</dc:creator>
      <dc:date>2015-08-11T19:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Equivalent of AxMapControl interface in ArcMap</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/equivalent-of-axmapcontrol-interface-in-arcmap/m-p/301969#M7838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,I figured it out. tagRECT is giving me current extent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IActiveView activeView = ArcMap.Document.FocusMap as IActiveView;&lt;/P&gt;&lt;P&gt; IDisplayTransformation DT = activeView.ScreenDisplay.DisplayTransformation;&lt;/P&gt;&lt;P&gt; tagRECT deviceRECT = DT.get_DeviceFrame();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2015 10:02:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/equivalent-of-axmapcontrol-interface-in-arcmap/m-p/301969#M7838</guid>
      <dc:creator>Durga_PrasadD</dc:creator>
      <dc:date>2015-08-13T10:02:19Z</dc:date>
    </item>
  </channel>
</rss>

