ASP.NET Pack Programmer's Guide
MeasureUnit.fromGraphicsUnit Method
See Also
 






Returns the measure unit corresponding to the specified graphics unit.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public static MeasureUnit fromGraphicsUnit (
    int unit
)

 Parameters

unit

One of the GraphicsUnit values.

 Return Value

The built-in MeasureUnit corresponding to the specified graphics unit. If unit is GraphicsUnit.World, this method returns {@code null}. If unit is GraphicsUnit.Display, this method returns Pixel.

 See Also

MeasureUnit Members
MeasureUnit Class
com.mindfusion.diagramming Namespace