ESRI.ArcGIS.ADF.IMS
Symbol Property
See Also 
ESRI.ArcGIS.ADF.IMS.Display.AcetateElement Namespace > GeometryElement Class : Symbol Property




Gets or sets the symbol that will be used for displaying the element.

Syntax

Visual Basic (Declaration) 
Public Property Symbol As Symbol
Visual Basic (Usage)Copy Code
Dim instance As GeometryElement
Dim value As Symbol
 
instance.Symbol = value
 
value = instance.Symbol
C# 
public Symbol Symbol {get; set;}

Example

For examples of using Symbol , see the constructors for this class.

Remarks

Be careful to specify a correct Symbol type for the Element in the GeometryElement. For example, valid symbol types for a Point element are derived from MarkerSymbol and include SimpleMarkerSymbol, RasterMarkerSymbol and TrueTypeMarkerSymbol. For Polyline elements, symbols must be derived from either LineSymbol (or, for ImageServer, MarkerSymbol may also be used). For Polygon elements, symbols must be derived from FillSymbol (for ImageServer, you may also use a symbol derived from MarkerSymbol or LineSymbol). If an incorrect symbol type is used, you with either get a runtime error or unexpected results.

See Also

© 2010 All Rights Reserved.