Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

ToLinearGradientBrush Method







Brush object to convert
Opacity value to use. Values can be from 0 to 1.0.
The bounding rectangle of the brush in pixels.
Helper method to convert AnnLinearGradientBrush to System.Drawing.Brush with opacity and bounding rectangle values.
Syntax
public static Brush ToLinearGradientBrush( 
   AnnLinearGradientBrush linearGradientBrush,
   double opacity,
   LeadRectD brushBounds
)
'Declaration
 
Public Shared Function ToLinearGradientBrush( _
   ByVal linearGradientBrush As AnnLinearGradientBrush, _
   ByVal opacity As Double, _
   ByVal brushBounds As LeadRectD _
) As Brush
'Usage
 
Dim linearGradientBrush As AnnLinearGradientBrush
Dim opacity As Double
Dim brushBounds As LeadRectD
Dim value As Brush
 
value = AnnWinFormsRenderingEngine.ToLinearGradientBrush(linearGradientBrush, opacity, brushBounds)
public static Brush ToLinearGradientBrush( 
   AnnLinearGradientBrush linearGradientBrush,
   double opacity,
   LeadRectD brushBounds
)
 function Leadtools.Annotations.Rendering.AnnWinFormsRenderingEngine.ToLinearGradientBrush( 
   linearGradientBrush ,
   opacity ,
   brushBounds 
)

Parameters

linearGradientBrush
Brush object to convert
opacity
Opacity value to use. Values can be from 0 to 1.0.
brushBounds
The bounding rectangle of the brush in pixels.

Return Value

System.Drawing.Brush object created.
Requirements

Target Platforms

See Also

Reference

AnnWinFormsRenderingEngine Class
AnnWinFormsRenderingEngine Members

Error processing SSI file
Leadtools.Annotations.Rendering requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features