ImageGear for .NET
loadFromJson Method
See Also  Send comments on this topic.
ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ArtPage Class : loadFromJson Method

json
The JSON string that represents the new marks.

Glossary Item Box

Loads marks from a JSON string.

Syntax

ASP.NET Ajax Javascript (Specification) 
function loadFromJson( 
   json : string
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfArtPage.loadFromJson(string);

Parameters

json
The JSON string that represents the new marks.

Remarks

This function removes all the marks that are currently associated with the ArtPage and loads a set of new ones from the JSON string. You must use the saveToJson client function or the ImageGear.Web.UI.ArtConnection.Read server function to create JSON strings.

After this function has successfully loaded the marks, it will raise the marksLoaded event.

See Also

©2013. Accusoft Corporation. All Rights Reserved.