ESRI.ArcGIS.ADF.IMS
Create(FeatureType,Color) Method
See Also 
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace > FeatureSymbol Class > Create Method : Create(FeatureType,Color) Method




type
FeatureType of the FeatureLayer that the symbology will represent.
color
Color of the symbology.
Creates a new FeatureSymbol object of given properties.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Create( _
   ByVal type As FeatureType, _
   ByVal color As Color _
) As FeatureSymbol
Visual Basic (Usage)Copy Code
Dim type As FeatureType
Dim color As Color
Dim value As FeatureSymbol
 
value = FeatureSymbol.Create(type, color)
C# 
public static FeatureSymbol Create( 
   FeatureType type,
   Color color
)

Parameters

type
FeatureType of the FeatureLayer that the symbology will represent.
color
Color of the symbology.

Return Value

New FeatureSymbol object.

Example

For an example of creating a symbol, see the Create(FeatureType, System.Drawing.Color, double, bool) constructor .

Remarks

The Create static methods allow quick creation of a simple symbol type. Depending on the FeatureType specified in the first argument, it will return either a SimpleMarkerSymbol, a SimpleLineSymbol, or SimpleFillSymbol. If you need a different symbol type, use one of the constructors for the particular symbol type.

See Also

© 2010 All Rights Reserved.