Creates a System.Drawing.Pen object representing the currently effective pen of the item.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public Pen GetEffectivePen () |
Visual Basic Copy Code |
---|
Public Function GetEffectivePen () As Pen |
A .NET Pen object.
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.
DiagramItem Members
DiagramItem Class
MindFusion.Diagramming Namespace