Search
DiagramItem.GetEffectiveTextBrush Method
See Also
 





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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Brush GetEffectiveTextBrush ()

Visual Basic  Copy Code

Public Function GetEffectiveTextBrush () As Brush

 Return Value

A .NET Brush object.

 Remarks

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

 See Also