ASP.NET Pack Programmer's Guide
Diagram.setMeasureUnit Method
See Also
 






Sets the units for measuring of lengths and sizes.

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

 Syntax

Java  Copy Code

public void setMeasureUnit (
    int value
)

 Parameters

value

One of the GraphicsUnit constants.

 Remarks

Many properties in the JDiagram API are used to specify the dimensions of diagram items or the size of various visual elements, for example, selection handles, arrowhead shapes, frame widths, and so on. MeasureUnit specifies the measure of length in which these size values are defined.

Setting new measure unit through this property will not re-scale diagram elements automatically to preserve their actual size. If you need that, call the changeUnit method.

 See Also

Diagram Members
Diagram Class
com.mindfusion.diagramming Namespace
changeUnit Method