<?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: Use ArcMap control to paste from Clipboard in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-arcmap-control-to-paste-from-clipboard/m-p/342691#M9006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ISelection Interface (ESRI.ArcGIS.Carto.ISelection) manages clipboard type operations on a selection.&amp;nbsp; A reference to ISelection can be obtained from IActiveView.Selection where IActiveView represents either the Map (Data View) or the PageLayout (Layout View) of ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the documentation on ISelection,&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//001200000qm8000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//001200000qm8000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; 3 ArcObjects coclasses implement that interface:&amp;nbsp; ElementSelection, MapSelection and SimpleElementSelection.&amp;nbsp; Based on their respective descriptions, it sounds like your ISelection reference would be an instance of the ElementSelection coclass, so click on that coclass in the document to see which other interfaces you can cast to that would offer other useful methods or properties, e.g. IEnumElement &amp;gt; IEnumElement.Next().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also see the IActiveView.Selection Property documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Selection_Property/0012000001ns000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Selection_Property/0012000001ns000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Dec 2011 22:35:07 GMT</pubDate>
    <dc:creator>EdgarBejarano</dc:creator>
    <dc:date>2011-12-30T22:35:07Z</dc:date>
    <item>
      <title>Use ArcMap control to paste from Clipboard</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-arcmap-control-to-paste-from-clipboard/m-p/342689#M9004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I programmatically use VB.Net within my ArcMap Add-In to paste whatever content is currently stored on the clipboard? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to insert an Excel table as a SVG, scalable vector graphic, instead of inserting a raster image jpg/gif/bmp file, in order to preserve quality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 14:38:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-arcmap-control-to-paste-from-clipboard/m-p/342689#M9004</guid>
      <dc:creator>AndrewBrown1</dc:creator>
      <dc:date>2011-12-30T14:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Use ArcMap control to paste from Clipboard</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-arcmap-control-to-paste-from-clipboard/m-p/342690#M9005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also, question #2: How do I access properties of an image that has just been pasted into ArcMap? I need to programmatically re-size it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrew&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 19:58:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-arcmap-control-to-paste-from-clipboard/m-p/342690#M9005</guid>
      <dc:creator>AndrewBrown1</dc:creator>
      <dc:date>2011-12-30T19:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Use ArcMap control to paste from Clipboard</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-arcmap-control-to-paste-from-clipboard/m-p/342691#M9006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ISelection Interface (ESRI.ArcGIS.Carto.ISelection) manages clipboard type operations on a selection.&amp;nbsp; A reference to ISelection can be obtained from IActiveView.Selection where IActiveView represents either the Map (Data View) or the PageLayout (Layout View) of ArcMap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to the documentation on ISelection,&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//001200000qm8000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//001200000qm8000000&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; 3 ArcObjects coclasses implement that interface:&amp;nbsp; ElementSelection, MapSelection and SimpleElementSelection.&amp;nbsp; Based on their respective descriptions, it sounds like your ISelection reference would be an instance of the ElementSelection coclass, so click on that coclass in the document to see which other interfaces you can cast to that would offer other useful methods or properties, e.g. IEnumElement &amp;gt; IEnumElement.Next().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also see the IActiveView.Selection Property documentation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Selection_Property/0012000001ns000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/Selection_Property/0012000001ns000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 22:35:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-arcmap-control-to-paste-from-clipboard/m-p/342691#M9006</guid>
      <dc:creator>EdgarBejarano</dc:creator>
      <dc:date>2011-12-30T22:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Use ArcMap control to paste from Clipboard</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-arcmap-control-to-paste-from-clipboard/m-p/342692#M9007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As for your second question, an image on a map (IMap) or pagelayout (IPageLayout) is a graphic element just like when you add text (ITextElement) or a marker (IMarkerElement) using the Drawing toolbar of ArcMap.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IElement&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IElement_Interface/00120000044z000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IElement_Interface/00120000044z000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the document above, look for the coclass that represents the exact type of picture element representing your image, e.g. PngPictureElement or JpgPictureElement.&amp;nbsp; Notice both coclass implement some generic ArcObjects interfaces like IElement and the more specific IPictureElement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of those many interfaces is bound to offer the image properties like IElementProperties, IElementProperties2 or IElementProperties3&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Dec 2011 22:48:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-arcmap-control-to-paste-from-clipboard/m-p/342692#M9007</guid>
      <dc:creator>EdgarBejarano</dc:creator>
      <dc:date>2011-12-30T22:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Use ArcMap control to paste from Clipboard</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/use-arcmap-control-to-paste-from-clipboard/m-p/342693#M9008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you! This works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2012 19:20:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/use-arcmap-control-to-paste-from-clipboard/m-p/342693#M9008</guid>
      <dc:creator>AndrewBrown1</dc:creator>
      <dc:date>2012-01-03T19:20:25Z</dc:date>
    </item>
  </channel>
</rss>

