![]() ![]() |
ESRI.ArcGIS.ADF.Web | |
ElementGraphicsLayer Class | |
Members See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.Display.Graphics Namespace : ElementGraphicsLayer Class |

Visual Basic (Declaration) | |
---|---|
<DesignerCategoryAttribute("code")> <SerializableAttribute()> Public Class ElementGraphicsLayer Inherits GraphicsLayer |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ElementGraphicsLayer |
C# | |
---|---|
[DesignerCategoryAttribute("code")] [SerializableAttribute()] public class ElementGraphicsLayer : GraphicsLayer |
An ElementGraphicsLayer is appropriate if you want to create a graphics layer with a collection of features (GraphicElement not necessarily of the same FeatureType. Each element (or feature, or row) has its own renderer and symbol. For example, if you created a custom tool that allowed users to sketch ad-hoc graphics on the map, where the graphics could be points, lines or polygons, then an ElementGraphicsLayer may be the appropriate place to store these graphics. The other type of graphics layer, FeatureGraphicsLayer, is conceptually similar to a map layer in a map service, where all features in the layer are of the same FeatureType (Point, Line or Polygon). Since all features have the same geometry type, a single Renderer can be used to symbolize the features.
For a discussion of using graphics layers in the ESRI Web ADF, see the topic Working with Graphics in the Developer Help (also available online at the ArcGIS Resource Center).
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