ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ArtPage class : loadFromJson Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function loadFromJson( json : string ) : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfArtPage.loadFromJson(string); |
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.