Represents a supplementary label displayed by a DiagramNode. New labels can be added to a node by calling its AddLabel method.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public class NodeLabel : ItemLabel |
Visual Basic Copy Code |
---|
Public Class NodeLabel |
The position of a label is determined by where it is pinned relative to node's bounding box, and offset from the pin point, as set using SetCornerPosition, SetEdgePosition and SetCenterPosition methods. In addition, the HorizontalAlign and VerticalAlign properties specify whether the label is centered on its pin point or aligned to it.
You can let users arrange labels manually by setting the Behavior property of DiagramView to MoveLabels.
System.Object
MindFusion.Diagramming.ItemLabel
MindFusion.Diagramming.NodeLabel
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |