ASP.NET Pack Programmer's Guide
Unit.toString Method
See Also
 





Returns a string representation of this Unit.

Namespace: MindFusion.Mapping
Package: Unit.js

 Syntax

JavaScript  Copy Code

function toString ()

 Return Value

String. The string representation.

 Example

The following code creates a new Unit and prints its value using the toString method:

JavaScript  Copy Code

var m = MindFusion.Mapping;

var unit = new m.Unit.pixel(100);

console.log(unit.toString());

 See Also

Unit Members
Unit Class
MindFusion.Mapping Namespace