MindFusion.Wpf Pack Programmer's Guide
ElementTemplate.GetElementPen Method
See Also
 





Gets a pen used to render the element. If no pen properties are explicitly specified for this element, returns the pen passed as an argument.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

protected Pen GetElementPen (
    Pen pen
)

Visual Basic  Copy Code

Protected Function GetElementPen( _
    pen As Pen _
) As Pen

 Parameters

pen
System.Windows.Media.Pen object specifying the base pen.

 Return Value

A System.Windows.Media.Pen instance to use for drawing.

 See Also

ElementTemplate Members
ElementTemplate Class
MindFusion.Diagramming.Wpf Namespace