LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

Create Method (AnnLinearGradientBrush)






Specifies an AnnUnitConverter object to be used when converting any annotation lengths, points, etc. this brush might have.
Specifies an AnnRectangle object defining the bounding rectangle to be used with this brush.
Creates a new GDI+ brush object using this AnnLinearGradientBrush.
Syntax
public override Brush Create( 
   AnnUnitConverter converter,
   AnnRectangle rect
)
'Declaration
 
Public Overrides Function Create( _
   ByVal converter As AnnUnitConverter, _
   ByVal rect As AnnRectangle _
) As Brush
'Usage
 
Dim instance As AnnLinearGradientBrush
Dim converter As AnnUnitConverter
Dim rect As AnnRectangle
Dim value As Brush
 
value = instance.Create(converter, rect)
public override Brush Create( 
   AnnUnitConverter converter,
   AnnRectangle rect
)
 function Leadtools.Annotations.AnnLinearGradientBrush.Create( 
   converter ,
   rect 
)
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+ System.Drawing.Brush object created from this AnnLinearGradientBrush.
Remarks
AnnLinearGradientBrush uses the rect as the bounds of the linear gradient.
Example
For an example, refer to AnnLinearGradientBrush.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnLinearGradientBrush Class
AnnLinearGradientBrush Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.