I updated today to version 5.5 Mapsuite desktop version. And now your sample project called PrintPreviewWinForms will not run. It give me a Error. This project and my project worked before the update. What do you think is the Problem.
System.ArgumentOutOfRangeException was unhandled
Message=The value for the enumeration is not one of the valid values.
Parameter name: MapUnit
Source=MapSuiteCore
ParamName=MapUnit
StackTrace:
at exQ=.cTs=.UTw=(GeographyUnit Ujw=, String Uzw=)
at ThinkGeo.MapSuite.Core.MapPrinterLayer.DrawCore(GeoCanvas canvas, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.Core.Layer.Draw(GeoCanvas canvas, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.DesktopEdition.PrinterInteractiveOverLay.DrawCore(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.Overlay.tRM=(GeoCanvas thM=)
at ThinkGeo.MapSuite.DesktopEdition.Overlay.Draw(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap./xU=(Graphics ABY=, RectangleShape ARY=, Overlay AhY=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.6xU=(RectangleShape 7BU=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.OhY=()
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.NhY=(Int32 NxY=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.Refresh()
at PrintPreviewWinforms.Sample.Sample_Load(Object sender, EventArgs e) in C:\EZ911NET\ThinkGeo\PrintPreviewWinforms\Sample.cs:line 33
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
InnerException: