SuperMap.Web.iServerJava6R.LabelImageCell.FromJson C# (CSharp) Метод

FromJson() статический приватный Метод

static private FromJson ( System.Json.JsonObject json ) : LabelImageCell
json System.Json.JsonObject
Результат 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;
        }