Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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
)
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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