fromJSON Method

Summary

Converts a JSON-compatible dictionary object to a new LeadPointD instance.

Syntax

JavaScript Syntax
fromJSON = function(jsonObject) 
TypeScript Syntax
static fromJSON(jsonObject: any): LeadPointD; 

Parameters

jsonObject

A JavaScript JSON-compatible object that describes the LeadPointD instance.

Return Value

a new LeadPointD instance to describe the JSON object.

Remarks

The FromJSON method is meant for use only with JSON objects created via ToJSON from a LeadPointD instance. The ToJSON and FromJSON methods allow the transfer of LeadPointD data between .NET, Java, and JavaScript.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly