![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
Create(FeatureType,Color,Double) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Display.Renderer Namespace > SimpleRenderer Class > Create Method : Create(FeatureType,Color,Double) Method |
- type
- color
- transparency
Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function Create( _ ByVal type As FeatureType, _ ByVal color As Color, _ ByVal transparency As Double _ ) As SimpleRenderer |
Visual Basic (Usage) | ![]() |
---|---|
Dim type As FeatureType Dim color As Color Dim transparency As Double Dim value As SimpleRenderer value = SimpleRenderer.Create(type, color, transparency) |
C# | |
---|---|
public static SimpleRenderer Create( FeatureType type, Color color, double transparency ) |
Parameters
- type
- color
- transparency
Return Value
New SimpleRenderer object.For an example of using create, see the overload Create(FeatureType, Color) Method .
The SimpleRenderer Create methods are convenience methods for quickly creating a renderer along with a simple symbol for the renderer. Depending on the type of layer, the symbol created is a SimpleMarkerSymbol (for point layers), SimpleLineSymbol (for line layers), or SimpleFillSymbol (for polygon layers).
To create a renderer that uses other symbol types, create the symbol separately, then assign it to a renderer created with one of the SimpleRenderer constructors.
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