ESRI.ArcGIS.ADF.IMS
Create(FeatureType,Color,Double,Boolean) Method
See Also 
ESRI.ArcGIS.ADF.IMS.Display.Renderer Namespace > SimpleRenderer Class > Create Method : Create(FeatureType,Color,Double,Boolean) Method




type
color
transparency
antialiasing
Creates a new SimpleRenderer object with a symbol of given properties.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Create( _
   ByVal type As FeatureType, _
   ByVal color As Color, _
   ByVal transparency As Double, _
   ByVal antialiasing As Boolean _
) As SimpleRenderer
Visual Basic (Usage)Copy Code
Dim type As FeatureType
Dim color As Color
Dim transparency As Double
Dim antialiasing As Boolean
Dim value As SimpleRenderer
 
value = SimpleRenderer.Create(type, color, transparency, antialiasing)
C# 
public static SimpleRenderer Create( 
   FeatureType type,
   Color color,
   double transparency,
   bool antialiasing
)

Parameters

type
color
transparency
antialiasing

Return Value

New SimpleRenderer object.

Example

For an example of using create, see the overload Create(FeatureType, Color) Method .

Remarks

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.

See Also

© 2010 All Rights Reserved.