I have been updating from ver 8 to ver 10+ and have the following issue with this code:
System.Drawing.Rectangle ScreenRect = ExtentHelper.ToScreenCoordinate(aCanvas.CurrentWorldExtent,
this.Product.Extent, ((System.Drawing.Bitmap) aCanvas.NativeImage).Size.Width,((System.Drawing.Bitmap) aCanvas.NativeImage).Size.Height);
Issue: Cannot implicitly convert type ‘ThinkGeo.MapSuite.Shapes.DrawingRectangle’ to ‘System.Drawing.Rectangle’
I think that’s because the API “ToScreenCoordinate” has a differnet return type between the versions. I think I can add one line to convert it or build it as a function but for the life of me I’m not finding a way to do that.