![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
SimpleMarkerSymbol Class | |
Members Example See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace : SimpleMarkerSymbol Class |

Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Class SimpleMarkerSymbol Inherits MarkerSymbol |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As SimpleMarkerSymbol |
C# | |
---|---|
[SerializableAttribute()] public class SimpleMarkerSymbol : MarkerSymbol |
The following example replaces the current feature renderer with a newly created SimpleMarkerSymbol.
C# | ![]() |
---|---|
// Create a new marker symbol and set its properties SimpleMarkerSymbol simpleMarkerSymb = new SimpleMarkerSymbol(Drawing.Color.Fuchsia, 10, MarkerSymbolType.Triangle); simpleMarkerSymb.AllowLabelOverlap = true; simpleMarkerSymb.Antialiasing = false; simpleMarkerSymb.OutlineColor = Drawing.Color.Bisque; simpleMarkerSymb.ShadowColor = Drawing.Color.DarkGray; simpleMarkerSymb.Transparency = 30; // Retrieve an existing point layer FeatureLayer layer = mapView.Layers.FindByName("Cities"); GroupRenderer grpRend = layer.Renderer; // Create a new simple renderer to contain the symbol, and replace the existing feature renderer SimpleRenderer simpleRend = new (simpleMarkerSymb); grpRend.Renderers.RemoveAt(0); grpRend.Renderers.Add(simpleRend); |
Visual Basic | ![]() |
---|---|
' Create a new marker symbol and set its properties Dim simpleMarkerSymb As New SimpleMarkerSymbol(Drawing.Color.Fuchsia, 10, MarkerSymbolType.Triangle) simpleMarkerSymb.AllowLabelOverlap = True simpleMarkerSymb.Antialiasing = False simpleMarkerSymb.OutlineColor = Drawing.Color.Bisque simpleMarkerSymb.ShadowColor = Drawing.Color.DarkGray simpleMarkerSymb.Transparency = 30 ' Retrieve an existing point layer Dim layer As FeatureLayer = mapView.Layers.FindByName("Cities") Dim grpRend As GroupRenderer = layer.Renderer ' Create a new simple renderer to contain the symbol, and replace the existing feature renderer Dim simpleRend As New SimpleRenderer(simpleMarkerSymb) grpRend.Renderers.RemoveAt(0) grpRend.Renderers.Add(simpleRend) |
Draws point symbols in a simple manner (as a circle, square, etc.; see Type for available symbol types). For more complex point symbols, see also RasterMarkerSymbol, ShieldSymbol, and TrueTypeMarkerSymbol.
For ArcMap Server image services, valid only for acetate layers. ArcMap Server ignores several of the properties of this class. For details, see the topic for SIMPLEMARKERSYMBOL in the ArcIMS Help, at ArcXML Guide - Symbol elements - SIMPLEMARKERSYMBOL. The ArcIMS Help is also available online at ESRI).
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family