Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnHatchBrush Constructor
See Also 
Leadtools.Annotations Namespace > AnnHatchBrush Class : AnnHatchBrush Constructor



style
The HatchStyle value that represents the pattern drawn by this AnnHatchBrush.
foreColor
The Color structure that represents the color of lines drawn by this AnnHatchBrush.
backColor
The Color structure that represents the color of spaces between the lines drawn by this AnnHatchBrush.
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 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 Color structure that represents the color of lines drawn by this AnnHatchBrush.
backColor
The 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 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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