Error processing SSI file
LEADTOOLS JavaScript (Leadtools)

ToJSON Method (LeadSizeD)

Show in webframe
Converts this LeadSizeD to a JSON-compatible dictionary object.
Syntax
 function Leadtools.LeadSizeD.toJSON()

Return Value

TypeDescription
Object a JavaScript JSON-compatible object to describe the LeadSizeD instance.
Remarks

If the LeadSizeD instance is Empty, the width and height properties of this JSON object will be set to "-Infinity".


            {
               "width": "-Infinity",
               "height": "-Infinity"
            }
               

The returned dictionary object can be used to create a new LeadSizeD 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 LeadSizeD data between .NET, Java, and JavaScript.

Following standard web specifications, the ToJSON method and subsequent return value are used automatically for a LeadSizeD instance when the global JSON.stringify function is called on that instance.

See Also

Reference

LeadSizeD Object
LeadSizeD Members

Error processing SSI file