![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
Create(FeatureType,Color,Double) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Display.Symbol Namespace > FeatureSymbol Class > Create Method : Create(FeatureType,Color,Double) Method |
- type
- FeatureType of the FeatureLayer that the symbology will represent.
- color
- Color of the symbology.
- transparency
- The transparency value of the symbology. This value must be between 0 and 100.
Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function Create( _ ByVal type As FeatureType, _ ByVal color As Color, _ ByVal transparency As Double _ ) As FeatureSymbol |
Visual Basic (Usage) | ![]() |
---|---|
Dim type As FeatureType Dim color As Color Dim transparency As Double Dim value As FeatureSymbol value = FeatureSymbol.Create(type, color, transparency) |
C# | |
---|---|
public static FeatureSymbol Create( FeatureType type, Color color, double transparency ) |
Parameters
- type
- FeatureType of the FeatureLayer that the symbology will represent.
- color
- Color of the symbology.
- transparency
- The transparency value of the symbology. This value must be between 0 and 100.
Return Value
New FeatureSymbol object.For an example of creating a symbol, see the Create(FeatureType, System.Drawing.Color, double, bool) constructor .
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.
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