Hi,
In my application I use my own PointStyle repository class which contains a list of the PointStyle objects created from the MemoryStream.
When I need to use one of these styles I create a deep copy of its:
PointStyle clonedStyle = MyPointStyles.BluePoint.CloneDeep() as PointStyle;
Then I need to draw a sample image of this point style on the GdiPlusGeoCanvas object.
In version 5.0.0.55 of MapSuite DesktopEdition everything worked fine but after upgrading to version 5.5.0.91 the ArgumentException is thrown with message: "Image from image path: is missing or invalid".
I suspect that the cause of this issue is CloneDeep() method because without call it the exception is not thrown.
I attach a sample code that demonstrates this issue. Can you help me?
Thank you in advance.
Krzysztof
PointStyleDrawSample.zip (16.5 KB)