ESRI.ArcGIS.ADF.Web
GraphicsLayerToJSON Method
See Also  Send Feedback
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].

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.