mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-20 22:05:07 +00:00
Version 4.12. Added MapControl.Images project
This commit is contained in:
parent
05a995c592
commit
8cafe207cb
1 changed files with 5 additions and 0 deletions
|
|
@ -155,6 +155,11 @@ namespace MapControl.Images
|
||||||
|
|
||||||
public void SetImage(Image image)
|
public void SetImage(Image image)
|
||||||
{
|
{
|
||||||
|
if (Rotation != 0d)
|
||||||
|
{
|
||||||
|
throw new InvalidOperationException("Rotation must be zero.");
|
||||||
|
}
|
||||||
|
|
||||||
image.Source = Bitmap;
|
image.Source = Bitmap;
|
||||||
image.Stretch = Stretch.Fill;
|
image.Stretch = Stretch.Fill;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue