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




geometry
The geometry of the graphic element.
symbol
The symbol used for displaying the graphic element when not selected.
selectedSymbol
The symbol used for displaying the graphic element when selected.
Constructs a GraphicElement object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal geometry As Geometry, _
   ByVal symbol As Symbol, _
   ByVal selectedSymbol As Symbol _
)
Visual Basic (Usage)Copy Code
Dim geometry As Geometry
Dim symbol As Symbol
Dim selectedSymbol As Symbol
 
Dim instance As GraphicElement(geometry, symbol, selectedSymbol)
C# 
public GraphicElement( 
   Geometry geometry,
   Symbol symbol,
   Symbol selectedSymbol
)

Parameters

geometry
The geometry of the graphic element.
symbol
The symbol used for displaying the graphic element when not selected.
selectedSymbol
The symbol used for displaying the graphic element when selected.

See Also

© 2010 All Rights Reserved.