ASP.NET Pack Programmer's Guide
DiagramItem.GetEffectivePen Method
See Also
 





Creates a System.Drawing.Pen object representing the currently effective pen of the item.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Pen GetEffectivePen ()

Visual Basic  Copy Code

Public Function GetEffectivePen () As Pen

 Return Value

A .NET Pen object.

 Remarks

This method returns a system pen corresponding to the item's Pen if the item's Pen is not null, or a system pen with the Stroke and StrokeThickness properties of the item's style. The returned object must be disposed by the caller.

 See Also

DiagramItem Members
DiagramItem Class
MindFusion.Diagramming Namespace