mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-01-04 07:40:28 +01:00
Version 4.12. Added MapControl.Images project
This commit is contained in:
parent
05a995c592
commit
8cafe207cb
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue