Search
DiagramItem.GetEffectivePen Method
See Also
 





Returns a 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 either the item's Pen if the item's Pen is not null, or a pen with the Stroke and StrokeThickness properties of the item's style.

 See Also