LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AnnHatchBrush Constructor(HatchStyle,Color,Color)
See Also 
Leadtools.Annotations Namespace > AnnHatchBrush Class > AnnHatchBrush Constructor : AnnHatchBrush Constructor(HatchStyle,Color,Color)



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.

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.

Syntax

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)
C# 
public AnnHatchBrush( 
   HatchStyle style,
   Color foreColor,
   Color backColor
)
C++/CLI 
public:
AnnHatchBrush( 
   HatchStyle style,
   Color foreColor,
   Color 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.

Example

For an example, refer to AnnHatchBrush.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features