ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / ArtPage class / loadFromJson Method

In This Topic
    loadFromJson Method
    In This Topic
    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