ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
ToAdfSymbol Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.ArcGISServer.Symbol _
) As ESRI.ArcGIS.ADF.Web.Display.Symbol.FeatureSymbol
Visual Basic (Usage)Copy Code
Dim symbol As ESRI.ArcGIS.ADF.ArcGISServer.Symbol
Dim value As ESRI.ArcGIS.ADF.Web.Display.Symbol.FeatureSymbol
 
value = Converter.ToAdfSymbol(symbol)
C# 
public static ESRI.ArcGIS.ADF.Web.Display.Symbol.FeatureSymbol ToAdfSymbol( 
   ESRI.ArcGIS.ADF.ArcGISServer.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.

Requirements

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

See Also

© 2011 All Rights Reserved.