![]() ![]() |
ESRI.ArcGIS.ADF.Web | |
ToGraphicsDataSet(DataSet,Color,Color,Color,Boolean,Boolean) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web Namespace > Converter Class > ToGraphicsDataSet Method : ToGraphicsDataSet(DataSet,Color,Color,Color,Boolean,Boolean) Method |
- ds
- DataSet to convert to a graphics data set.
- symbolColor
- Color to use for rendering symbols in the graphics layers.
- selectedSymbolColor
- Color to use for rendering symbols in features that may be selected in the graphics layers.
- highlightSymbolColor
- Color with which to render highlighted features in the graphics layer. This only applies when the graphics layer has RenderOnClient set to true.
- selectFeatures
- Whether the inital IsSelected state of features should be set to true.
- renderOnClient
- Whether features should be rendered as client feature graphics.
Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function ToGraphicsDataSet( _ ByVal ds As DataSet, _ ByVal symbolColor As Color, _ ByVal selectedSymbolColor As Color, _ ByVal highlightSymbolColor As Color, _ ByVal selectFeatures As Boolean, _ ByVal renderOnClient As Boolean _ ) As GraphicsDataSet |
Visual Basic (Usage) | ![]() |
---|---|
Dim ds As DataSet Dim symbolColor As Color Dim selectedSymbolColor As Color Dim highlightSymbolColor As Color Dim selectFeatures As Boolean Dim renderOnClient As Boolean Dim value As GraphicsDataSet value = Converter.ToGraphicsDataSet(ds, symbolColor, selectedSymbolColor, highlightSymbolColor, selectFeatures, renderOnClient) |
C# | |
---|---|
public static GraphicsDataSet ToGraphicsDataSet( DataSet ds, Color symbolColor, Color selectedSymbolColor, Color highlightSymbolColor, bool selectFeatures, bool renderOnClient ) |
Parameters
- ds
- DataSet to convert to a graphics data set.
- symbolColor
- Color to use for rendering symbols in the graphics layers.
- selectedSymbolColor
- Color to use for rendering symbols in features that may be selected in the graphics layers.
- highlightSymbolColor
- Color with which to render highlighted features in the graphics layer. This only applies when the graphics layer has RenderOnClient set to true.
- selectFeatures
- Whether the inital IsSelected state of features should be set to true.
- renderOnClient
- Whether features should be rendered as client feature graphics.
Return Value
ESRI Web ADF GraphicsDataSet.The data sets contain one or more tables, each of which represents a graphics layer that may be drawn on top of the map.
For a discussion of the conversion of tables in the data set, see Convert.ToGraphicsLayer(DataTable, System.Drawing.Color, System.Drawing.Color).
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