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





Creates a Unit instance with the specified value and UnitType.Pixel.

Namespace: MindFusion.Mapping
Package: Unit.js

 Syntax

JavaScript  Copy Code

function pixel (value)

 Parameters

value

Number. The value of the unit.

 Return Value

Unit. The new Unit.

 Example

The following code creates a new Unit with value of 100 pixels:

JavaScript  Copy Code

var m = MindFusion.Mapping;

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

 See Also

Unit Members
Unit Class
MindFusion.Mapping Namespace