ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Drawing Namespace / IDrawingCanvas Interface / CreateHatchBrush Method
The hatch style.
The foreground color.
The background color.

In This Topic
    CreateHatchBrush Method (IDrawingCanvas)
    In This Topic
    Initializes a new BrushEx using specified hatch pattern and colors.
    Syntax
    'Declaration
     
    Function CreateHatchBrush( _
       ByVal hatchStyle As HatchStyleEx, _
       ByVal foreColor As Color, _
       ByVal backColor As Color _
    ) As BrushEx
    BrushEx CreateHatchBrush( 
       HatchStyleEx hatchStyle,
       Color foreColor,
       Color backColor
    )

    Parameters

    hatchStyle
    The hatch style.
    foreColor
    The foreground color.
    backColor
    The background color.

    Return Value

    The hatch brush.
    See Also