ESRI.ArcGIS.ADF.Web
GraphicsLayerToJSON Method
See Also 
ESRI.ArcGIS.ADF.Web.Display Namespace > JsonSerializer Class : GraphicsLayerToJSON Method




layer
The graphics layer.
transparency
The transparency.
resourceVisible
if set to true [resource visible].
Returns the JSON representation of the graphics layer

Syntax

Visual Basic (Declaration) 
Public Function GraphicsLayerToJSON( _
   ByVal layer As GraphicsLayer, _
   ByVal transparency As Double, _
   ByVal resourceVisible As Boolean _
) As String
Visual Basic (Usage)Copy Code
Dim instance As JsonSerializer
Dim layer As GraphicsLayer
Dim transparency As Double
Dim resourceVisible As Boolean
Dim value As String
 
value = instance.GraphicsLayerToJSON(layer, transparency, resourceVisible)
C# 
public string GraphicsLayerToJSON( 
   GraphicsLayer layer,
   double transparency,
   bool resourceVisible
)

Parameters

layer
The graphics layer.
transparency
The transparency.
resourceVisible
if set to true [resource visible].

See Also

© 2010 All Rights Reserved.