Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0200.5 - 200.8
.NET200.5 - 200.8
.NET Windows200.5 - 200.8
.NET Android200.5 - 200.8
.NET iOS200.5 - 200.8
.NET Framework200.5 - 200.8
UWP200.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.

System.Double width

The desired width of the image when displayed in the MapView in DIPS.

System.Double height

The desired height of the image when displayed in the MapView in DIPs.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.5 - 200.8
.NET200.5 - 200.8
.NET Windows200.5 - 200.8
.NET Android200.5 - 200.8
.NET iOS200.5 - 200.8
.NET Framework200.5 - 200.8
UWP200.5 - 200.8
In This Article
Back to top Copyright © 2022 Esri.