![]() ![]() |
ESRI.ArcGIS.ADF.Web | |
GraphicElement Constructor(Geometry,Color) | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.Display.Graphics Namespace > GraphicElement Class > GraphicElement Constructor : GraphicElement Constructor(Geometry,Color) |
- geometry
- The geometry of the graphic element.
- color
- The color used for displaying the graphic element.
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal geometry As Geometry, _ ByVal color As Color _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim geometry As Geometry Dim color As Color Dim instance As New GraphicElement(geometry, color) |
Parameters
- geometry
- The geometry of the graphic element.
- color
- The color used for displaying the graphic element.
This method creates the symbol for the GraphicElement that is appropriate to the geometry (Point, Line or Polygon) and uses the default symbol properties, except for the specified color.
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