![]() ![]() |
ESRI.ArcGIS.ADF.Web | |
ToGraphicsDataSet(DataSet) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web Namespace > Converter Class > ToGraphicsDataSet Method : ToGraphicsDataSet(DataSet) Method |
- ds
- DataSet to convert to a graphics data set.
Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function ToGraphicsDataSet( _ ByVal ds As DataSet _ ) As GraphicsDataSet |
Visual Basic (Usage) | ![]() |
---|---|
Dim ds As DataSet Dim value As GraphicsDataSet value = Converter.ToGraphicsDataSet(ds) |
C# | |
---|---|
public static GraphicsDataSet ToGraphicsDataSet( DataSet ds ) |
Parameters
- ds
- DataSet to convert to a graphics data set.
Return Value
ESRI Web ADF GraphicsDataSet.This overload of the method assigns a random color to features in the graphics layers that it creates.
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