Search
NodeLabel Class
Remarks See Also
 





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

 Syntax

C#  Copy Code

public class NodeLabel : ItemLabel

Visual Basic  Copy Code

Public Class NodeLabel
    Inherits ItemLabel

 Remarks

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.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.ItemLabel
        MindFusion.Diagramming.NodeLabel

 See Also