MindFusion.Wpf Pack Programmer's Guide
HatchBrush.CreateInstance Method
See Also
 





Returns an ImageBrush instance corresponding to a GDI+ HatchBrush.

Namespace: MindFusion.Spreadsheet.Wpf
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

public static Brush CreateInstance (
    HatchStyle hatchStyle,
    Color foreColor,
    Color backColor
)

Visual Basic  Copy Code

Public Shared Function CreateInstance( _
    hatchStyle As HatchStyle, _
    foreColor As Color, _
    backColor As Color _
) As Brush

 Parameters

hatchStyle

A HatchStyle member specifying the hatch pattern.

foreColor

The hatch foreground color.

backColor

The hatch background color.

 Return Value

An ImageBrush instance.

 See Also

HatchBrush Members
HatchBrush Class
MindFusion.Spreadsheet.Wpf Namespace