ImageGear .NET v25.2 - Updated
saveToJson Method

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ArtPage class : saveToJson Method
Saves marks to a JSON string.
Syntax
ASP.NET Ajax Javascript (Specification) 
function saveToJson() : string;
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfArtPage.saveToJson();

Return Value

The JSON string that represents the state of all associated marks.
Remarks

This function saves all the marks that are currently associated with the ArtPage to a JSON string.

Note: The JSON format is not a file format and should not be stored in a file or database for later use. The format of JSON strings is specific to a single revision of ImageGear and future versions will not support JSON strings written with this version. If you wish to store marks permanently, use the ImageGear ART XML file formats. You must use the server function, ImageGear.Web.UI.ArtConnection.Write to save JSON strings to the ART XML file format.

See Also

Reference

ArtPage class
ArtPage Members

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