Method SetImage
SetImage(RuntimeImage)
Sets the image that should be used to display the reticle at the design size on the MapView.
Declaration
public void SetImage(RuntimeImage image)
Parameters
| Type | Name | Description |
|---|---|---|
| RuntimeImage | image | Image to be used for the reticle. |
Remarks
The image pixels will be rendered directly (unscaled) to the device display.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.5 - 200.8 |
| .NET | 200.5 - 300.0 |
| .NET Windows | 200.5 - 300.0 |
| .NET Android | 200.5 - 300.0 |
| .NET iOS | 200.5 - 300.0 |
| .NET Framework | 200.5 - 200.8 |
| UWP | 200.5 - 200.8 |
SetImage(RuntimeImage, double, double)
Sets the image that should be used to display the reticle at a desired size on the MapView.
Declaration
public void SetImage(RuntimeImage image, double width, double height)
Parameters
| Type | Name | Description |
|---|---|---|
| RuntimeImage | image | Image to be used for the reticle. |
| double | width | The desired width of the image when displayed in the |
| double | height | The desired height of the image when displayed in the |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Either |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.5 - 200.8 |
| .NET | 200.5 - 300.0 |
| .NET Windows | 200.5 - 300.0 |
| .NET Android | 200.5 - 300.0 |
| .NET iOS | 200.5 - 300.0 |
| .NET Framework | 200.5 - 200.8 |
| UWP | 200.5 - 200.8 |