ESRI.ArcGIS.ADF.Web
GraphicElement Constructor(Geometry,Symbol,Symbol,Symbol)
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Display.Graphics Namespace > GraphicElement Class > GraphicElement Constructor : GraphicElement Constructor(Geometry,Symbol,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.
highlightSymbol
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, _
   ByVal highlightSymbol As Symbol _
)
Visual Basic (Usage)Copy Code
Dim geometry As Geometry
Dim symbol As Symbol
Dim selectedSymbol As Symbol
Dim highlightSymbol As Symbol
 
Dim instance As New GraphicElement(geometry, symbol, selectedSymbol, highlightSymbol)
C# 
public GraphicElement( 
   Geometry geometry,
   Symbol symbol,
   Symbol selectedSymbol,
   Symbol highlightSymbol
)

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.
highlightSymbol
The symbol used for displaying the graphic element when selected.

Requirements

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

See Also

© 2011 All Rights Reserved.