ASP.NET Pack Programmer's Guide
MeasureUnit.convert Method (Rectangle2D, MeasureUnit, DiagramView)
See Also
 






Converts the specified rectangle from this unit to the specified unit.

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

 Syntax

Java  Copy Code

public Rectangle2D convert (
    Rectangle2D r,
    MeasureUnit targetUnit,
    DiagramView view
)

 Parameters

r

The rectangle to convert, expressed in the current measure unit.

targetUnit

The target measure unit.

view

A parameter that is used when converting to special units (such as percents).

 Return Value

The converted rectangle.

 See Also

convert Method Overload List
MeasureUnit Members
MeasureUnit Class
com.mindfusion.diagramming Namespace