<?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 Override Draw() method of TextElement class in .NET in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/override-draw-method-of-textelement-class-in-net/m-p/374570#M9851</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to override the Draw() method of a class that Inherits from TextElement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the error I am getting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.TypeLoadException: Types extending from COM objects should override all methods of an interface implemented by the base COM class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have overridden 30 sub(routines), 16 Functions, and 65 Properties.&amp;nbsp; I can list them all if you like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how to fix this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have an example of inheriting from an Element class in .net? (and overriding a method)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2011 14:59:04 GMT</pubDate>
    <dc:creator>JimCampbell</dc:creator>
    <dc:date>2011-07-12T14:59:04Z</dc:date>
    <item>
      <title>Override Draw() method of TextElement class in .NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/override-draw-method-of-textelement-class-in-net/m-p/374570#M9851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to override the Draw() method of a class that Inherits from TextElement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the error I am getting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.TypeLoadException: Types extending from COM objects should override all methods of an interface implemented by the base COM class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have overridden 30 sub(routines), 16 Functions, and 65 Properties.&amp;nbsp; I can list them all if you like.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how to fix this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have an example of inheriting from an Element class in .net? (and overriding a method)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 14:59:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/override-draw-method-of-textelement-class-in-net/m-p/374570#M9851</guid>
      <dc:creator>JimCampbell</dc:creator>
      <dc:date>2011-07-12T14:59:04Z</dc:date>
    </item>
  </channel>
</rss>

