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



converter
Specifies an AnnUnitConverter object to be used when converting any annotation lengths, points, etc. this brush might have.
rect
Specifies an AnnRectangle object defining the bounding rectangle to be used with this brush.
converter
Specifies an AnnUnitConverter object to be used when converting any annotation lengths, points, etc. this brush might have.
rect
Specifies an AnnRectangle object defining the bounding rectangle to be used with this brush.
Creates a new GDI+ brush object using this AnnBrush.

Syntax

Visual Basic (Declaration) 
Public Overridable MustOverride Function Create( _
   ByVal converter As AnnUnitConverter, _
   ByVal rect As AnnRectangle _
) As Brush
Visual Basic (Usage)Copy Code
Dim instance As AnnBrush
Dim converter As AnnUnitConverter
Dim rect As AnnRectangle
Dim value As Brush
 
value = instance.Create(converter, rect)
C# 
public virtual abstract Brush Create( 
   AnnUnitConverter converter,
   AnnRectangle rect
)
C++/CLI 
public:
virtual abstract Brush Create( 
   AnnUnitConverter^ converter,
   AnnRectangle rect
) 

Parameters

converter
Specifies an AnnUnitConverter object to be used when converting any annotation lengths, points, etc. this brush might have.
rect
Specifies an AnnRectangle object defining the bounding rectangle to be used with this brush.

Return Value

The GDI+ Brush object created from this AnnBrush.

Example

For an example, refer to AnnBrush.

Remarks

The bounding rectangle is used by some derived classes such as the AnnLinearGradientBrush to define the area to be filled.

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