jim.campbell

Override Draw() method of TextElement class in .NET

Discussion created by jim.campbell on Jul 12, 2011
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)

Outcomes