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




geometry
The geometry of the graphic element.
color
The color used for displaying the graphic element.
transparency
The transparency of the graphic element. This value must be between 0 and 100.
Constructs a GraphicElement object with a default symbol.

Syntax

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

Parameters

geometry
The geometry of the graphic element.
color
The color used for displaying the graphic element.
transparency
The transparency of the graphic element. This value must be between 0 and 100.

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.