ESRI.ArcGIS.ADF.Web
ToJson Method
See Also 
ESRI.ArcGIS.ADF.Web.Display.Symbol Namespace > IClientSymbol Interface : ToJson Method




serverSideSerialization
When serializing for server-side use (e.g. on aspx pages), marker symbols will be saved as their original types, where supported. When serialized for client-side use, all marker symbols will be saved as types supported on the client, e.g. simple marker symbols will be saved as raster marker symbols.
Creates a JSON string representing the symbol.

Syntax

Visual Basic (Declaration) 
Function ToJson( _
   ByVal serverSideSerialization As Boolean _
) As String
Visual Basic (Usage)Copy Code
Dim instance As IClientSymbol
Dim serverSideSerialization As Boolean
Dim value As String
 
value = instance.ToJson(serverSideSerialization)
C# 
string ToJson( 
   bool serverSideSerialization
)

Parameters

serverSideSerialization
When serializing for server-side use (e.g. on aspx pages), marker symbols will be saved as their original types, where supported. When serialized for client-side use, all marker symbols will be saved as types supported on the client, e.g. simple marker symbols will be saved as raster marker symbols.

Return Value

JSON string with symbol properties

See Also

© 2010 All Rights Reserved.