ImageGear .NET v25.2 - Updated
loadFromJson Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ArtPage class : loadFromJson Method
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

Reference

ArtPage class
ArtPage Members

Is this page helpful?
Yes No
Thanks for your feedback.