Version 4.12. Added MapControl.Images project

This commit is contained in:
ClemensF 2018-12-14 21:12:10 +01:00
parent 05a995c592
commit 8cafe207cb

View file

@ -155,6 +155,11 @@ namespace MapControl.Images
public void SetImage(Image image)
{
if (Rotation != 0d)
{
throw new InvalidOperationException("Rotation must be zero.");
}
image.Source = Bitmap;
image.Stretch = Stretch.Fill;