SuperMap.Web.iServerJava6R.LabelImageCell.FromJson C# (CSharp) Method

FromJson() static private method

static private FromJson ( System.Json.JsonObject json ) : LabelImageCell
json System.Json.JsonObject
return LabelImageCell
        internal static LabelImageCell FromJson(JsonObject json)
        {
            if (json == null) return null;

            LabelImageCell imageCell = new LabelImageCell();
            imageCell.Height = (double)json["height"];
            imageCell.PathField = (string)json["pathField"];
            imageCell.Rotation = (double)json["rotation"];
            imageCell.SizeFixed = (bool)json["sizeFixed"];
            imageCell.Width = (double)json["width"];

            return imageCell;
        }