Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Create Method
See Also 
Leadtools.Annotations Namespace > AnnLinearGradientBrush 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.
Creates a new GDI+ brush object using this AnnLinearGradientBrush.

Syntax

Visual Basic (Declaration) 
Overrides Public Function Create( _
   ByVal converter As AnnUnitConverter, _
   ByVal rect As AnnRectangle _
) As Brush
Visual Basic (Usage)Copy Code
Dim instance As AnnLinearGradientBrush
Dim converter As AnnUnitConverter
Dim rect As AnnRectangle
Dim value As Brush
 
value = instance.Create(converter, rect)
C# 
public override Brush Create( 
   AnnUnitConverter converter,
   AnnRectangle rect
)
Managed Extensions for C++ 
public: Brush Create( 
   AnnUnitConverter* converter,
   AnnRectangle rect
) override 
C++/CLI 
public:
Brush Create( 
   AnnUnitConverter^ converter,
   AnnRectangle rect
) override 

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 AnnLinearGradientBrush.

Example

For an example, refer to AnnLinearGradientBrush.

Remarks

AnnLinearGradientBrush uses the rect as the bounds of the linear gradient.

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