Search
DiagramItem.GetEffectivePen Method
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Pen GetEffectivePen (
    IGraphics graphics
)

Visual Basic  Copy Code

Public Function GetEffectivePen( _
    graphics As IGraphics _
) As Pen

 Parameters

graphics

 Return Value

 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