Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

ToBrush(AnnBrush,Int32,Double,LeadRectD) Method







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

Parameters

brush
Brush object to convert
alpha
Alpha value to use (0 to 255).
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
Overload List

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