Search
DiagramLink.GetEffectiveHeadPen Method
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Pen GetEffectiveHeadPen (
    IGraphics graphics
)

Visual Basic  Copy Code

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

 Parameters

graphics

 Return Value

 Remarks

This method returns a pen corresponding to the link's HeadPen if the link's HeadPen is not null, or a pen with the HeadStroke and HeadStrokeThickness properties of the link's style. The returned object must be disposed by the caller.

 See Also