Select to view content in your preferred language

Override Draw() method of TextElement class in .NET

952
0
07-12-2011 07:59 AM
JimCampbell
Emerging Contributor
I am trying to override the Draw() method of a class that Inherits from TextElement.
This is the error I am getting:
System.TypeLoadException: Types extending from COM objects should override all methods of an interface implemented by the base COM class.

I have overridden 30 sub(routines), 16 Functions, and 65 Properties.  I can list them all if you like.

Does anyone know how to fix this error?
Does anyone have an example of inheriting from an Element class in .net? (and overriding a method)
0 Kudos
0 Replies