Search
DiagramItem.Pen Property
See Also
 






Gets or sets the pen used to paint the frame of the item.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Pen Pen { get; set; }

Visual Basic  Copy Code

Public Property Pen As Pen

 Property Value

An instance of the Pen class. The default value is null.

 Remarks

The property refers to a pen, with which the item frame is painted. When applied to links, the property specifies how their segments are painted.

When set to null, the pen object used to draw the item borders is derived from the item's Style, or from the diagram's current Theme.

 See Also