Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

ToBrush(AnnBrush,Double) Method







Brush object to convert
The desired opacity of the resulting brush. Values can be from 0 to 1.0
Helper method to convert AnnBrush to System.Drawing.Brush.
Syntax
public static Brush ToBrush( 
   AnnBrush brush,
   double opacity
)
'Declaration
 
Public Overloads Shared Function ToBrush( _
   ByVal brush As AnnBrush, _
   ByVal opacity As Double _
) As Brush
'Usage
 
Dim brush As AnnBrush
Dim opacity As Double
Dim value As Brush
 
value = AnnWinFormsRenderingEngine.ToBrush(brush, opacity)
public static Brush ToBrush( 
   AnnBrush brush,
   double opacity
)
 function Leadtools.Annotations.Rendering.AnnWinFormsRenderingEngine.ToBrush(AnnBrush,Double)( 
   brush ,
   opacity 
)

Parameters

brush
Brush object to convert
opacity
The desired opacity of the resulting brush. Values can be from 0 to 1.0

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