DrawPolygon problem in DrawDynamicLayer

Discussion created by smw22 on Feb 11, 2011
I have a class that inherits from BaseDynamicLayer and I override the DrawDynamicLayer() method.  Is there something special that needs to be done for a successful inDynamicDisplay.DrawPolygon(poly) call?  The method crashes every time I call it with a "Exception from HRESULT: 0x80040218."  I can use the same point collection to create a Polyline and call DrawPolyline(polyLine) without a problem.  I can also successfully use all the other draw commands, like DrawMarker() & DrawRectangle().