Hi guys,
Today I was about to add the MagneticDeclinationPrinterLayer function to our page layout map, but I think I discovered a bug. I have attached a sample to demonstrate. To reproduce the bug just start up the sample, then do anything to cause the map to redraw. You can pan or try to print or whatever. You will get an exception:
System.ObjectDisposedException was unhandled
HResult=-2146232798
Message=Cannot access a closed Stream.
Source=mscorlib
ObjectName=""
StackTrace:
at System.IO.__Error.StreamIsClosed()
I am using MS Desktop v 8.0.0.23.
Thanks!
Steve
PageLayoutSample_(Magnetic_North_Arrow).zip (551 KB)
Possible bug with MagneticDeclinationPrinterLayer
Hi Steven,
Thanks a lot for your sample.
It’s proved a bug and we have fixed it in the latest version(8.0.0.35 or 8.0.35.0) and seems the packages are still building now, please wait for some times.
If the issue persists with the latest packages, please let us know.
Thanks,
Troy
Troy,
Thanks for your help. I no longer get the error.
Steve
Steven,
Good to hear it fixed and thanks for reporting this issue.
Thanks,
Troy