I am trying to add an image which is rotated, but I have some problems.
I change the world file which format is described in en.wikipedia.org/wiki/World_file.
When I change the rotation constants, line 2 and 3 in the world file, the image is always non-rotated.
I am using the example "LoadAStandardImageWithWorldFile" from the getting started "HowDoISamples"-project.
What I have done wrong or is it a generel restriction for images ?
private void LoadAStandardImageWithWorldFile_Load(object sender, EventArgs e) { winformsMap1.MapUnit = GeographyUnit.DecimalDegree; winformsMap1.BackgroundOverlay.BackgroundBrush = new GeoSolidBrush(GeoColor.GeographicColors.ShallowOcean); GdiPlusRasterLayer worldImageLayer = new GdiPlusRasterLayer(@"..\..\SampleData\Data\world.tif"); worldImageLayer.UpperThreshold = double.MaxValue; worldImageLayer.LowerThreshold = 0; LayerOverlay ImageOverlay = new LayerOverlay(); ImageOverlay.Layers.Add("WorldImageLayer", worldImageLayer); winformsMap1.Overlays.Add(ImageOverlay); winformsMap1.CurrentExtent = new RectangleShape(-118.098, 84.3, 118.098, -84.3); winformsMap1.Refresh(); } /* World file: ..\..\SampleData\Data\world.tfw 0.036 -0.01 0.01 -0.036 -120.0 10.0 */