Search
DiagramItem.GetEffectiveBrush Method
See Also
 





Creates a System.Drawing.Brush object representing the currently effective brush of the item.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Brush GetEffectiveBrush ()

Visual Basic  Copy Code

Public Function GetEffectiveBrush () As Brush

 Return Value

A .NET Brush object.

 Remarks

This method returns a system brush corresponding to the item's Brush if the item's Brush is not null, or a system brush corresponding to the Brush property of the item's style. The returned object must be disposed by the caller.

 See Also