Hi Gary,
DesktopEdition.dll V5.5.0.91.
I'm doing a lot of automated layout and scaling the pxiel count of the map before getting an image to embed in an Active Reports layout. I sure I can adjust it, it just caught me by surprise, because the style thumbnails size changed and the text sizes and their positions.
I'm also getting a strange error after rolling my code back to 5.5.0.91 after I found the legend issue and didn't have time to deal with it at the moment. I think its probably a version mismatch someplace, I have a number of projects used together that reference MapSuite. This happens when refreshing a map with a legend adonrner, no problems if there is no legend. I'm going to keep looking for an issue, but just incase you have seen this before.
Thanks
Brian
System.ArgumentException occurred
HResult=-2147024809
Message=Parameter is not valid.
Source=System.Drawing
StackTrace:
at System.Drawing.Bitmap..ctor(Stream stream)
at ThinkGeo.MapSuite.Core.GdiPlusGeoCanvas.BeginDrawingCore(Object nativeImage, RectangleShape worldExtent, GeographyUnit drawingMapUnit)
at ThinkGeo.MapSuite.Core.GeoCanvas.BeginDrawing(Object nativeImage, RectangleShape worldExtent, GeographyUnit drawingMapUnit)
at ThinkGeo.MapSuite.Core.LegendAdornmentLayer.DrawCore(GeoCanvas canvas, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.Core.Layer.Draw(GeoCanvas canvas, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.DesktopEdition.AdornmentOverlay.DrawCore(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.Overlay.kBQ=(GeoCanvas kRQ=)
at ThinkGeo.MapSuite.DesktopEdition.Overlay.Draw(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.4hM=(Graphics txc=, RectangleShape uBc=, Overlay uRc=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.0RM=(RectangleShape rRc=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.HBQ=()
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.GBQ=(Int32 4Bc=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.Refresh()
at Tcc.Gis.ThinkGeoSupport.ThinkGeoMapManager.Refresh() in e:\TFSSource\TCC\GIS-Arc 10\Tcc.Gis.ThinkGeoSupport\ThinkGeoMapManager.cs:line 138
InnerException: