Converts this LeadPointD to a JSON-compatible dictionary object.
LeadPointD.prototype.toJSON = function()
toJSON(): any;
a JavaScript JSON-compatible object to describe the LeadPointD instance.
If the LeadPointD instance is Empty, then the x
and y
properties of this JSON
object will be set to "NaN"
. Note that this is different behavior than with ToJSON and ToJSON.
{
"x": "NaN",
"y": "NaN"
}
The returned dictionary object can be used to create a new LeadPointD instance with the static method FromJSON, though it is recommended to use Clone instead when simply creating a copy of the instance. The ToJSON and FromJSON methods allow the transfer of LeadPointD data between .NET, Java, and JavaScript.
Following standard web specifications, the ToJSON method and subsequent return value are used automatically
for a LeadPointD instance when the global JSON.stringify
function is called on that instance.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document