# FileLoadException was unhandled

**URL:** <https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494>\
**Category:** WinForms\
**Created:** [November 11, 2010, 9:45pm UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494 "2010-11-11T21:45:39Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![David9](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/david9/32/24954_2.png) [@David9](https://community.thinkgeo.com/u/David9)\
**Post date:** [November 11, 2010, 9:45pm UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/1 "2010-11-11T21:45:39Z")

</div>

&nbsp;I&nbsp;am&nbsp;trying&nbsp;to&nbsp;load&nbsp;a&nbsp;.jpg&nbsp;image&nbsp;like&nbsp;this:

`            Jpeg2000RasterLayer jpgImageLayer = new Jpeg2000RasterLayer(@"C:\Users\Dave\Documents\Visual Studio 2010\PSIM\PSIM\PSIM\Samples\59and8,jpg");            jpgImageLayer.UpperThreshold = double.MaxValue;            jpgImageLayer.LowerThreshold = 0;            LayerOverlay ImageOverlay = new LayerOverlay();            ImageOverlay.Layers.Add("jpgImageLayer", jpgImageLayer);            Map.Overlays.Add(ImageOverlay);            Map.Refresh(); `

&nbsp;but&nbsp;I&nbsp;get&nbsp;a&nbsp;FileLoadException&nbsp;on&nbsp;the&nbsp;last&nbsp;line:

Mixed&nbsp;mode&nbsp;assembly&nbsp;is&nbsp;built&nbsp;against&nbsp;version&nbsp;'v2.0.50727'&nbsp;of&nbsp;the&nbsp;runtime&nbsp;and&nbsp;cannot&nbsp;be&nbsp;loaded&nbsp;in&nbsp;the&nbsp;4.0&nbsp;runtime&nbsp;without&nbsp;additional&nbsp;configuration&nbsp;information.

&nbsp;

Not&nbsp;sure&nbsp;what&nbsp;to&nbsp;do&nbsp;about&nbsp;that...

Dave

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 12, 2010, 7:36am UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/2 "2010-11-12T07:36:12Z")

</div>

Dave,

Thanks&nbsp;for&nbsp;your&nbsp;post.  
&nbsp;  
I&nbsp;noticed&nbsp;that&nbsp;in&nbsp;your&nbsp;path&nbsp;file,&nbsp;there&nbsp;is&nbsp;a&nbsp;mistake&nbsp;by&nbsp;using&nbsp;the&nbsp;“,”&nbsp;instead&nbsp;of&nbsp;“.”,&nbsp;can&nbsp;you&nbsp;have&nbsp;a&nbsp;try&nbsp;after&nbsp;correcting&nbsp;it?  
@"C:\Users\Dave\Documents\Visual&nbsp;Studio&nbsp;2010\PSIM\PSIM\PSIM\Samples\59and8,jpg"  
&nbsp;  
Any&nbsp;more&nbsp;questions&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.  
&nbsp;  
Thanks.  
&nbsp;  
Yale

---

<div class="post-metadata">

**Author:** ![David9](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/david9/32/24954_2.png) [@David9](https://community.thinkgeo.com/u/David9)\
**Post date:** [November 12, 2010, 8:06am UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/3 "2010-11-12T08:06:46Z")

</div>

&nbsp;Good&nbsp;catch....&nbsp;but&nbsp;sadly,&nbsp;that&nbsp;didn't&nbsp;fix&nbsp;it...&nbsp;&nbsp;same&nbsp;error...

Dave

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 12, 2010, 9:27am UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/4 "2010-11-12T09:27:51Z")

</div>

Dave,

&nbsp;  
Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;feedback.  
Can&nbsp;you&nbsp;try&nbsp;to&nbsp;use&nbsp;the&nbsp;GdiPlusRasterLayer&nbsp;instead&nbsp;of&nbsp;the&nbsp;Jpeg2000RasterLayer?&nbsp;If&nbsp;the&nbsp;problem&nbsp;still&nbsp;there&nbsp;could&nbsp;you&nbsp;send&nbsp;us&nbsp;the&nbsp;jpg&nbsp;file?  
&nbsp;  
Any&nbsp;more&nbsp;questions&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.  
&nbsp;  
Thanks.  
&nbsp;  
Yale

---

<div class="post-metadata">

**Author:** ![David9](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/david9/32/24954_2.png) [@David9](https://community.thinkgeo.com/u/David9)\
**Post date:** [November 12, 2010, 10:35am UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/5 "2010-11-12T10:35:01Z")

</div>

&nbsp;Thank&nbsp;you&nbsp;Yale,&nbsp;using&nbsp;GdiPlusRasterLayer&nbsp;did&nbsp;resolve&nbsp;the&nbsp;error.&nbsp;&nbsp;I&nbsp;do&nbsp;not&nbsp;yet&nbsp;see&nbsp;my&nbsp;own&nbsp;jpg&nbsp;in&nbsp;the&nbsp;map&nbsp;yet&nbsp;however.

This&nbsp;jpg&nbsp;is&nbsp;a&nbsp;screen&nbsp;capture&nbsp;from&nbsp;Google&nbsp;Earth\*&nbsp;this&nbsp;morning&nbsp;and&nbsp;then&nbsp;cropped&nbsp;to&nbsp;a&nbsp;nice&nbsp;size.&nbsp;I&nbsp;then&nbsp;used&nbsp;a&nbsp;georeference&nbsp;tool&nbsp;from&nbsp;the&nbsp;open&nbsp;source&nbsp;MapWindow&nbsp;folks&nbsp;to&nbsp;create&nbsp;the&nbsp;world&nbsp;file.&nbsp;I&nbsp;set&nbsp;the&nbsp;CurrentExtent&nbsp;just&nbsp;outside&nbsp;of&nbsp;the&nbsp;range&nbsp;of&nbsp;the&nbsp;image&nbsp;and&nbsp;tried&nbsp;to&nbsp;load&nbsp;it&nbsp;like&nbsp;this:

`Map.MapUnit = GeographyUnit.DecimalDegree;Map.BackgroundOverlay.BackgroundBrush = new GeoSolidBrush(GeoColor.GeographicColors.ShallowOcean);GdiPlusRasterLayer jpgImageLayer = new GdiPlusRasterLayer(@"C:\Users\Dave\Documents\Visual Studio 2010\PSIM\PSIM\PSIM\Samples\algoa.jpg");jpgImageLayer.UpperThreshold = double.MaxValue;jpgImageLayer.LowerThreshold = 0;LayerOverlay ImageOverlay = new LayerOverlay();ImageOverlay.Layers.Add("jpgImageLayer", jpgImageLayer);Map.Overlays.Add(ImageOverlay);Map.CurrentExtent = new RectangleShape(-96, 30, -95, 29);Map.Refresh(); `

I&nbsp;get&nbsp;nothing&nbsp;however...&nbsp;I&nbsp;am&nbsp;guessing&nbsp;that&nbsp;MapSuite&nbsp;wants&nbsp;the&nbsp;jpg&nbsp;georeferenced&nbsp;some&nbsp;other&nbsp;way?

Dave

&nbsp;

\*just&nbsp;for&nbsp;in-house&nbsp;testing,&nbsp;we&nbsp;aren't&nbsp;publishing&nbsp;or&nbsp;distributing&nbsp;copyright&nbsp;images...&nbsp;fyi...

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 14, 2010, 8:06pm UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/6 "2010-11-14T20:06:30Z")

</div>

David,

I&nbsp;found&nbsp;another&nbsp;post&nbsp;maybe&nbsp;talk&nbsp;about&nbsp;the&nbsp;same&nbsp;issue&nbsp;with&nbsp;you.

In&nbsp;our&nbsp;product,&nbsp;we&nbsp;use&nbsp;the&nbsp;OLEDB&nbsp;to&nbsp;do&nbsp;the&nbsp;SQL&nbsp;query&nbsp;against&nbsp;the&nbsp;shape&nbsp;file.&nbsp;&nbsp;Following&nbsp;post&nbsp;show&nbsp;you&nbsp;how&nbsp;to&nbsp;use&nbsp;the&nbsp;OLEDB&nbsp;directly&nbsp;to&nbsp;SQL&nbsp;query&nbsp;against&nbsp;the&nbsp;shape&nbsp;file,&nbsp;I&nbsp;think&nbsp;the&nbsp;reason&nbsp;for&nbsp;this&nbsp;problem&nbsp;is&nbsp;that&nbsp;the&nbsp;OLEDB&nbsp;does&nbsp;not&nbsp;support&nbsp;this.  
[gis.thinkgeo.com/Support/Dis...fault.aspx](http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/21/aft/6043/afv/topic/afpgj/1/Default.aspx)  
Any&nbsp;more&nbsp;questions&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.  
Thanks.  
James

---

<div class="post-metadata">

**Author:** ![David9](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/david9/32/24954_2.png) [@David9](https://community.thinkgeo.com/u/David9)\
**Post date:** [November 15, 2010, 3:07pm UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/7 "2010-11-15T15:07:31Z")

</div>

&nbsp;I&nbsp;have&nbsp;no&nbsp;idea&nbsp;what&nbsp;you&nbsp;were&nbsp;trying&nbsp;to&nbsp;tell&nbsp;me...&nbsp;

Let&nbsp;me&nbsp;ask&nbsp;this:&nbsp;&nbsp;if&nbsp;I&nbsp;have&nbsp;a&nbsp;satellite&nbsp;jpg&nbsp;or&nbsp;tiff,&nbsp;how&nbsp;do&nbsp;I&nbsp;georeference&nbsp;it&nbsp;so&nbsp;that&nbsp;it&nbsp;can&nbsp;be&nbsp;loaded&nbsp;as&nbsp;a&nbsp;geolocated&nbsp;background&nbsp;image?&nbsp;Do&nbsp;you&nbsp;recommend&nbsp;some&nbsp;tool&nbsp;for&nbsp;that?

&nbsp;

Dave

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 15, 2010, 7:28pm UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/8 "2010-11-15T19:28:35Z")

</div>

David,&nbsp;  
  
  
  
That's&nbsp;a&nbsp;post&nbsp;talk&nbsp;about&nbsp;why&nbsp;GdiPlusRasterLayer&nbsp;works&nbsp;but&nbsp;other&nbsp;rasterlayer&nbsp;doesn't,&nbsp;however&nbsp;GdiPlusRasterLayer&nbsp;has&nbsp;low&nbsp;performance,&nbsp;never&nbsp;mind&nbsp;it.

We&nbsp;load&nbsp;satellite&nbsp;image&nbsp;with&nbsp;world&nbsp;file,&nbsp;when&nbsp;you&nbsp;don't&nbsp;have&nbsp;related&nbsp;world&nbsp;file,&nbsp;you&nbsp;can&nbsp;pass&nbsp;in&nbsp;the&nbsp;world&nbsp;extent&nbsp;which&nbsp;represent&nbsp;this&nbsp;image&nbsp;in&nbsp;constructor&nbsp;of&nbsp;GdiPlusRasterLayer&nbsp;or&nbsp;Jpeg2000RasterLayer&nbsp;or&nbsp;any&nbsp;other&nbsp;rasterlayer.&nbsp;If&nbsp;you&nbsp;don't&nbsp;know&nbsp;how&nbsp;to&nbsp;write&nbsp;code,&nbsp;please&nbsp;look&nbsp;at&nbsp;HowDoI&nbsp;sample&nbsp;  
  
Load&nbsp;a&nbsp;Geotiff&nbsp;image&nbsp;under&nbsp;Satellite&nbsp;Image&nbsp;category.&nbsp;  
  
  
  
Please&nbsp;let&nbsp;me&nbsp;know&nbsp;if&nbsp;you&nbsp;have&nbsp;more&nbsp;questions&nbsp;  
  
Thanks&nbsp;  
  
James

---

<div class="post-metadata">

**Author:** ![David9](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/david9/32/24954_2.png) [@David9](https://community.thinkgeo.com/u/David9)\
**Post date:** [November 16, 2010, 8:38am UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/9 "2010-11-16T08:38:55Z")

</div>

That&nbsp;is&nbsp;excellent…&nbsp;&nbsp;can&nbsp;you&nbsp;recommend&nbsp;a&nbsp;tool&nbsp;for&nbsp;geolocating&nbsp;the&nbsp;images&nbsp;(ie&nbsp;making&nbsp;a&nbsp;world&nbsp;file&nbsp;compatible&nbsp;with&nbsp;MapSuite)&nbsp;  
&nbsp;&nbsp;  
&nbsp;Also,&nbsp;is&nbsp;there&nbsp;a&nbsp;way&nbsp;to&nbsp;load&nbsp;autocad&nbsp;drawings&nbsp;into&nbsp;a&nbsp;layer?&nbsp;Or&nbsp;do&nbsp;they&nbsp;need&nbsp;to&nbsp;be&nbsp;converted&nbsp;to&nbsp;jpg&nbsp;or&nbsp;tiff&nbsp;before&nbsp;trying&nbsp;to&nbsp;load&nbsp;them&nbsp;into&nbsp;MapSuite?&nbsp;  
&nbsp;&nbsp;  
&nbsp;Dave

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 16, 2010, 9:06pm UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/10 "2010-11-16T21:06:13Z")

</div>

David,&nbsp;  
&nbsp;&nbsp;  
&nbsp;The&nbsp;worldfile&nbsp;is&nbsp;pretty&nbsp;simple,&nbsp;you&nbsp;can&nbsp;use&nbsp;notepad&nbsp;to&nbsp;create&nbsp;it&nbsp;by&nbsp;yourself,&nbsp;about&nbsp;its&nbsp;format&nbsp;you&nbsp;can&nbsp;look&nbsp;at&nbsp;  
&nbsp;[en.wikipedia.org/wiki/World\_file](http://en.wikipedia.org/wiki/World_file)&nbsp;  
&nbsp;If&nbsp;you&nbsp;want&nbsp;to&nbsp;the&nbsp;image&nbsp;will&nbsp;display&nbsp;at&nbsp;map.CurrentExtent,&nbsp;you&nbsp;can&nbsp;set&nbsp;the&nbsp;parameters&nbsp;of&nbsp;worldfile&nbsp;the&nbsp;same&nbsp;as&nbsp;current&nbsp;extent.&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;am&nbsp;afraid&nbsp;we&nbsp;don’t&nbsp;fully&nbsp;support&nbsp;autocad,&nbsp;so&nbsp;you&nbsp;need&nbsp;to&nbsp;convert&nbsp;it&nbsp;to&nbsp;image&nbsp;file,&nbsp;but&nbsp;you&nbsp;can&nbsp;look&nbsp;at&nbsp;this&nbsp;page&nbsp;which&nbsp;decribe&nbsp;all&nbsp;data&nbsp;format&nbsp;that&nbsp;mapsuite&nbsp;supports:&nbsp;  
&nbsp;[gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/16/aft/6206/afv/topic/Default.aspx](http://gis.thinkgeo.com/Support/DiscussionForums/tabid/143/aff/16/aft/6206/afv/topic/Default.aspx)&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;  
&nbsp;Li&nbsp;Fan

---

<div class="post-metadata">

**Author:** ![David9](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/david9/32/24954_2.png) [@David9](https://community.thinkgeo.com/u/David9)\
**Post date:** [November 23, 2010, 8:23am UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/11 "2010-11-23T08:23:36Z")

</div>

Yes,&nbsp;the&nbsp;worldfile&nbsp;did&nbsp;turn&nbsp;out&nbsp;to&nbsp;be&nbsp;pretty&nbsp;simple,&nbsp;and&nbsp;I&nbsp;am&nbsp;able&nbsp;to&nbsp;use&nbsp;a&nbsp;nice&nbsp;tool&nbsp;to&nbsp;generate&nbsp;them.

When&nbsp;I&nbsp;load&nbsp;an&nbsp;image&nbsp;that&nbsp;has&nbsp;D&nbsp;and&nbsp;B&nbsp;values&nbsp;in&nbsp;its&nbsp;worldfile&nbsp;(because&nbsp;the&nbsp;image&nbsp;is&nbsp;not&nbsp;rotated&nbsp;to&nbsp;true&nbsp;north)&nbsp;is&nbsp;there&nbsp;a&nbsp;place&nbsp;in&nbsp;MapSuite&nbsp;where&nbsp;I&nbsp;can&nbsp;go&nbsp;to&nbsp;find&nbsp;the&nbsp;computed&nbsp;rotation&nbsp;of&nbsp;the&nbsp;image?

Dave

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 23, 2010, 8:03pm UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/12 "2010-11-23T20:03:12Z")

</div>

David,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;think&nbsp;MapSuite&nbsp;doesn’t&nbsp;support&nbsp;rotation&nbsp;for&nbsp;RasterLayer,&nbsp;it&nbsp;will&nbsp;ignore&nbsp;D&nbsp;and&nbsp;B&nbsp;values,&nbsp;you&nbsp;can&nbsp;set&nbsp;them&nbsp;to&nbsp;0.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Currently,&nbsp;we&nbsp;supports&nbsp;the&nbsp;rotation&nbsp;only&nbsp;for&nbsp;Feature&nbsp;Layer&nbsp;now.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;have&nbsp;added&nbsp;this&nbsp;item&nbsp;to&nbsp;our&nbsp;work&nbsp;tracking&nbsp;system,&nbsp;hopefully&nbsp;we&nbsp;can&nbsp;supported&nbsp;it&nbsp;one&nbsp;day.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sorry&nbsp;for&nbsp;the&nbsp;inconvenience&nbsp;now.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![David9](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/david9/32/24954_2.png) [@David9](https://community.thinkgeo.com/u/David9)\
**Post date:** [November 23, 2010, 8:45pm UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/13 "2010-11-23T20:45:49Z")

</div>

So....&nbsp;MapSuite&nbsp;requires&nbsp;that&nbsp;all&nbsp;raster&nbsp;layers&nbsp;be&nbsp;aligned&nbsp;with&nbsp;true&nbsp;north&nbsp;on&nbsp;the&nbsp;Y&nbsp;axis?&nbsp;&nbsp;I&nbsp;can&nbsp;rotate&nbsp;a&nbsp;FeatureLayer&nbsp;but&nbsp;the&nbsp;georeferenced&nbsp;RasterLayer&nbsp;underneath&nbsp;it&nbsp;can&nbsp;not&nbsp;rotate&nbsp;with&nbsp;it?&nbsp;&nbsp;That&nbsp;surprises&nbsp;me...

Can&nbsp;I&nbsp;get&nbsp;an&nbsp;estimate&nbsp;on&nbsp;'hopefully&nbsp;supporting&nbsp;it&nbsp;one&nbsp;day'?&nbsp;&nbsp;That&nbsp;sounds&nbsp;like&nbsp;code&nbsp;for&nbsp;a&nbsp;pretty&nbsp;low&nbsp;priority.

Dave

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 24, 2010, 2:23am UTC](https://community.thinkgeo.com/t/fileloadexception-was-unhandled/1494/14 "2010-11-24T02:23:21Z")

</div>

David,&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;am&nbsp;afraid&nbsp;I&nbsp;can&nbsp;not&nbsp;give&nbsp;you&nbsp;a&nbsp;estimate&nbsp;time.&nbsp;The&nbsp;reason&nbsp;we&nbsp;can&nbsp;rotate&nbsp;ShapeFeautureLayer&nbsp;but&nbsp;not&nbsp;for&nbsp;RasterLayer&nbsp;is&nbsp;that&nbsp;we&nbsp;load&nbsp;feature&nbsp;layer&nbsp;by&nbsp;our&nbsp;own&nbsp;code,&nbsp;so&nbsp;we&nbsp;can&nbsp;totally&nbsp;control&nbsp;it,&nbsp;however&nbsp;we&nbsp;use&nbsp;the&nbsp;thrid&nbsp;part&nbsp;assemblies&nbsp;to&nbsp;load&nbsp;RasterLayer&nbsp;that&nbsp;they&nbsp;don’t&nbsp;provide&nbsp;the&nbsp;functions&nbsp;to&nbsp;rotate&nbsp;image.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Hope&nbsp;the&nbsp;third&nbsp;part&nbsp;assemblies&nbsp;release&nbsp;new&nbsp;version&nbsp;that&nbsp;support&nbsp;rotation&nbsp;and&nbsp;we&nbsp;can&nbsp;integrate&nbsp;the&nbsp;function&nbsp;to&nbsp;our&nbsp;RasterLayer.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sorry&nbsp;for&nbsp;inconvenience.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;  
&nbsp;James
