MindFusion.Charting for JavaScript Programmer's Guide
Unit.toString Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Returns a string representation of this Unit.

Namespace: MindFusion.Common
File: Unit.js

## Syntax

JavaScript Copy Code
function toString ()

### Return Value

Type: String
String. The string representation.

## Example

The following code converts the width of a listView, which is of type Unit, to string.

JavaScript Copy Code
var size = listView.width.toString();

## See Also

Unit Members
Unit Class
MindFusion.Common Namespace