ESRI.ArcGIS.ADF.Web
GraphicElement Constructor(Geometry,Color,Color,Color)
See Also 
ESRI.ArcGIS.ADF.Web.Display.Graphics Namespace > GraphicElement Class > GraphicElement Constructor : GraphicElement Constructor(Geometry,Color,Color,Color)




geometry
The geometry of the graphic element.
color
The color used for displaying the graphic element when not selected.
selectedColor
The color used for displaying the graphic element when selected.
highlightColor
The color used for displaying the graphic element when highlighted.
Constructs a GraphicElement object with a default symbol.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal geometry As Geometry, _
   ByVal color As Color, _
   ByVal selectedColor As Color, _
   ByVal highlightColor As Color _
)
Visual Basic (Usage)Copy Code
Dim geometry As Geometry
Dim color As Color
Dim selectedColor As Color
Dim highlightColor As Color
 
Dim instance As GraphicElement(geometry, color, selectedColor, highlightColor)
C# 
public GraphicElement( 
   Geometry geometry,
   Color color,
   Color selectedColor,
   Color highlightColor
)

Parameters

geometry
The geometry of the graphic element.
color
The color used for displaying the graphic element when not selected.
selectedColor
The color used for displaying the graphic element when selected.
highlightColor
The color used for displaying the graphic element when highlighted.

See Also

© 2010 All Rights Reserved.