AvalonEdit
SetForeground Method (offset, length, brush)
NamespacesICSharpCode.AvalonEdit.HighlightingRichTextModelSetForeground(Int32, Int32, HighlightingBrush)
Sets the foreground brush on the specified text segment.
Declaration Syntax
C#Visual BasicVisual C++
public void SetForeground(
	int offset,
	int length,
	HighlightingBrush brush
)
Public Sub SetForeground ( _
	offset As Integer, _
	length As Integer, _
	brush As HighlightingBrush _
)
public:
void SetForeground(
	int offset, 
	int length, 
	HighlightingBrush^ brush
)
Parameters
offset (Int32)
length (Int32)
brush (HighlightingBrush)

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238