Sets new MeasureUnit value and scales the coordinates of diagram items so that their absolute size remains unchanged.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public void ChangeUnit ( |
Visual Basic Copy Code |
---|
Public Sub ChangeUnit( _ |
A MeasureUnit instance specifying the new unit.
This method scales the coordinates of nodes' Bounds values and links' ControlPoints to preserve their size when measured in the new unit. In addition, it scales values of some size and distance -related properties such as ShadowOffsetX and HeadShapeSize.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |