ASP.NET Pack Programmer's Guide
Unit.value Property
See Also
 





The unit value.

Namespace: MindFusion.Mapping
Package: Unit.js

 Syntax

JavaScript  Copy Code

Object.defineProperty(Unit.prototype, "value", { value: Number });

 Property Value

Number

 Example

The following code demonstrates how to use the value property:

JavaScript  Copy Code

var m = MindFusion.Mapping;

var unit = new m.Unit();

if(unit.type == m.UnitType.Percent)
{
   var length = unit.value;
}

 See Also

Unit Members
Unit Class
MindFusion.Mapping Namespace