<?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: Convert Anno to Shapefile (VBA vs VB.net) in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/convert-anno-to-shapefile-vba-vs-vb-net/m-p/585271#M15838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: crortiz&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;Have You found a solution for the Scale issue when VBA code is being translated to .Net (VB or C#) ?&lt;BR /&gt;&lt;BR /&gt;VBA code seems to be working fine (&lt;A href="http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000r4000000"&gt;http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000r4000000&lt;/A&gt;)... but I haven't tried Multi-part Annotations - there seems to be some issues (&lt;A href="http://forums.esri.com/thread.asp?c=93&amp;amp;f=993&amp;amp;t=292545"&gt;http://forums.esri.com/thread.asp?c=93&amp;amp;f=993&amp;amp;t=292545&lt;/A&gt;)&lt;BR /&gt;&lt;BR /&gt;Br,&lt;BR /&gt;&lt;BR /&gt;Igor Karuza&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No I didn't, I just created a command button in c# that runs in an active version of Arcmap and run it manually instead of from a command line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlos Ortiz&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Analyst/ Programmer/Analyst&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bexar Appraisal District&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jan 2012 10:15:35 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2012-01-09T10:15:35Z</dc:date>
    <item>
      <title>Convert Anno to Shapefile (VBA vs VB.net)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/convert-anno-to-shapefile-vba-vs-vb-net/m-p/585269#M15836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: crortiz&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some VBA code I have been using to convert annotation to polygon shapes of the text.&amp;nbsp; I am now trying to convert to VB.net or C# (I have done both) for use in batch processing.&amp;nbsp; I have successfully converted the application however the fonts scale wrong.&amp;nbsp; I suspect it has to do with my use of IMapDocument instead of IMxDocument.&amp;nbsp; The output for both programs as well as the source is attached.&amp;nbsp; I have been messing with this for a week any help would be appreciated.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlos Ortiz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 14:19:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/convert-anno-to-shapefile-vba-vs-vb-net/m-p/585269#M15836</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-03-14T14:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Anno to Shapefile (VBA vs VB.net)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/convert-anno-to-shapefile-vba-vs-vb-net/m-p/585270#M15837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have You found a solution for the Scale issue when VBA code is being translated to .Net (VB or C#) ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;VBA code seems to be working fine (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000r4000000"&gt;http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000r4000000&lt;/A&gt;&lt;SPAN&gt;)... but I haven't tried Multi-part Annotations - there seems to be some issues (&lt;/SPAN&gt;&lt;A href="http://forums.esri.com/thread.asp?c=93&amp;amp;f=993&amp;amp;t=292545"&gt;http://forums.esri.com/thread.asp?c=93&amp;amp;f=993&amp;amp;t=292545&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Br,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Igor Karuza&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 21:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/convert-anno-to-shapefile-vba-vs-vb-net/m-p/585270#M15837</guid>
      <dc:creator>IgorKaruza</dc:creator>
      <dc:date>2012-01-08T21:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Anno to Shapefile (VBA vs VB.net)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/convert-anno-to-shapefile-vba-vs-vb-net/m-p/585271#M15838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: crortiz&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;Have You found a solution for the Scale issue when VBA code is being translated to .Net (VB or C#) ?&lt;BR /&gt;&lt;BR /&gt;VBA code seems to be working fine (&lt;A href="http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000r4000000"&gt;http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000r4000000&lt;/A&gt;)... but I haven't tried Multi-part Annotations - there seems to be some issues (&lt;A href="http://forums.esri.com/thread.asp?c=93&amp;amp;f=993&amp;amp;t=292545"&gt;http://forums.esri.com/thread.asp?c=93&amp;amp;f=993&amp;amp;t=292545&lt;/A&gt;)&lt;BR /&gt;&lt;BR /&gt;Br,&lt;BR /&gt;&lt;BR /&gt;Igor Karuza&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No I didn't, I just created a command button in c# that runs in an active version of Arcmap and run it manually instead of from a command line.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlos Ortiz&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GIS Analyst/ Programmer/Analyst&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bexar Appraisal District&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 10:15:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/convert-anno-to-shapefile-vba-vs-vb-net/m-p/585271#M15838</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-01-09T10:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Anno to Shapefile (VBA vs VB.net)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/convert-anno-to-shapefile-vba-vs-vb-net/m-p/585272#M15839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No I didn't, I just created a command button in c# that runs in an active version of Arcmap and run it manually instead of from a command line.&lt;BR /&gt;&lt;BR /&gt;Carlos Ortiz&lt;BR /&gt;GIS Analyst/ Programmer/Analyst&lt;BR /&gt;Bexar Appraisal District&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, please correct me if I'm wrong, You have used C# Code for creating dll for upper mentioned conversion, which You have connected to the button in ArcMap (Customize...). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You havent created Extension or AddIn for ArcGIS Desktop, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because the code is executing in the ArcGIS Desktop Environment (ArcMap), You could use IMxDocument instead of IMapDocument which caused You problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would You be so kind and provide C# code, so I could avoid translating VB.Net to C#.Net.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking forward to Your answer!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Br,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Igor Karuza&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GDi GISDATA d.o.o.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2012 19:21:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/convert-anno-to-shapefile-vba-vs-vb-net/m-p/585272#M15839</guid>
      <dc:creator>IgorKaruza</dc:creator>
      <dc:date>2012-01-22T19:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Anno to Shapefile (VBA vs VB.net)</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/convert-anno-to-shapefile-vba-vs-vb-net/m-p/585273#M15840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: crortiz&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code.&amp;nbsp; I implemented a base command, there is a walk through in the online help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2012 10:24:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/convert-anno-to-shapefile-vba-vs-vb-net/m-p/585273#M15840</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-01-23T10:24:30Z</dc:date>
    </item>
  </channel>
</rss>

