ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
ToAdfSymbol Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > Converter Class : ToAdfSymbol Method




symbol
The ArcGIS Server Symbol to convert.
Converts an ArcGIS Server Symbol to a Web ADF FeatureSymbol.

Syntax

Visual Basic (Declaration) 
Public Shared Function ToAdfSymbol( _
   ByVal symbol As Symbol _
) As FeatureSymbol
Visual Basic (Usage)Copy Code
Dim symbol As Symbol
Dim value As FeatureSymbol
 
value = Converter.ToAdfSymbol(symbol)
C# 
public static FeatureSymbol ToAdfSymbol( 
   Symbol symbol
)

Parameters

symbol
The ArcGIS Server Symbol to convert.

Return Value

A Web ADF FeatureSymbol with the same settings.

Remarks

Converts MarkerSymbol, SimpleLineSymbol, FillSymbol and TextSymbol, and types derived from these. Any other type will return null.

See Also

© 2010 All Rights Reserved.