Attaches a new node to the group, in such a way that its area is always occupying certain percentage of the main item's area.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public bool AttachProportional ( |
Visual Basic Copy Code |
---|
Public Function AttachProportional( _ |
The DiagramNode to be attached.
false if the node could not be attached; otherwise, true.
You can use this method when the main item of the group is a node. Use the left, top, right and bottom arguments to specify the position and size of the attached node relative to that of the main item. When moving or resizing the main node, the specified ratio between it and the attached node is preserved.
NetDiagram Programmer's Guide | © 2023 MindFusion |