OLE2FRAME Error in Draw method
Posted: 18 Jul 2014, 15:38
I ran example EditorDemo
Open a dwg document that contains table OLE2FRAME
After scrolling scrollbar and scale changes got out the error window
Error in Draw method
at System.Drawing.Graphics.get_Clip()
at CADImport.CadGraphicsGDI.IsInViewVolume(CadEntity Ent)
at CADImport.CADEntity. (CADConverter, CADEntityProc, CADEntityProc)
at CADImport.CADCurvePolygon. (CADConverter, CADEntityProc, CADEntityProc)
at CADImport.CADGroup.Iterate(CADConverter AConverter .........
If I open document that not contains OLE2FRAME error does not occur
This error does not always appear, sometimes you need a few times to move the scrollbar or change the scale after error appears on the screen is not drawn region OLE2FRAME all other items are drawn
If I save the document as DXF frame disappears
Open a dwg document that contains table OLE2FRAME
After scrolling scrollbar and scale changes got out the error window
Error in Draw method
at System.Drawing.Graphics.get_Clip()
at CADImport.CadGraphicsGDI.IsInViewVolume(CadEntity Ent)
at CADImport.CADEntity. (CADConverter, CADEntityProc, CADEntityProc)
at CADImport.CADCurvePolygon. (CADConverter, CADEntityProc, CADEntityProc)
at CADImport.CADGroup.Iterate(CADConverter AConverter .........
If I open document that not contains OLE2FRAME error does not occur
This error does not always appear, sometimes you need a few times to move the scrollbar or change the scale after error appears on the screen is not drawn region OLE2FRAME all other items are drawn
If I save the document as DXF frame disappears