The AnnHatchBrush Constructor(HatchStyle,Color,Color) is available in LEADTOOLS Document and Medical Imaging toolkits.
Initializes a new AnnHatchBrush object with the specified hatch style, foreground color and background color.Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal style As HatchStyle, _ ByVal foreColor As Color, _ ByVal backColor As Color _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim style As HatchStyle Dim foreColor As Color Dim backColor As Color Dim instance As New AnnHatchBrush(style, foreColor, backColor) |
Parameters
- style
- The HatchStyle value that represents the pattern drawn by this AnnHatchBrush.
- foreColor
- The System.Drawing.Color structure that represents the color of lines drawn by this AnnHatchBrush.
- backColor
- The System.Drawing.Color structure that represents the color of spaces between the lines drawn by this AnnHatchBrush.
For an example, refer to AnnHatchBrush.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7