Gets or sets the size mode of the image overlay.
Namespace:
ESRI.ArcGISExplorer.Mapping
Assembly:
ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public SizeMode SizeMode { get; set; } |
Visual Basic (Declaration) |
---|
Public Property SizeMode As SizeMode |
Field Value
A
SizeMode enumeration that specifies the size mode (absolute or relative) of the image overlay.
Remarks
Examples
CopyC#
Map myMap = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.Map;
ImageOverlay imgOverlay = new ImageOverlay("Logo", "C:\\Images\\Logo.png");
myMap.ChildItems.Add(imgOverlay);
imgOverlay.SizeMode = SizeMode.Absolute;
CopyVB.NET
Dim myMap As Map = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay.Map
Dim imgOverlay As ImageOverlay = New ImageOverlay("Logo", "C:\Images\Logo.png")
myMap.ChildItems.Add(imgOverlay)
imgOverlay.SizeMode = ESRI.ArcGISExplorer.Mapping.SizeMode.Absolute
See Also