Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

ToSolidBrush Method (AnnWinFormsRenderingEngine)







Brush object to convert
Opacity value to use. Values can be from 0 to 1.0.
Helper method to convert AnnSolidColorBrush to System.Drawing.Brush with opacity value.
Syntax
public static Brush ToSolidBrush( 
   AnnSolidColorBrush solidBrush,
   double opacity
)
'Declaration
 
Public Shared Function ToSolidBrush( _
   ByVal solidBrush As AnnSolidColorBrush, _
   ByVal opacity As Double _
) As Brush
'Usage
 
Dim solidBrush As AnnSolidColorBrush
Dim opacity As Double
Dim value As Brush
 
value = AnnWinFormsRenderingEngine.ToSolidBrush(solidBrush, opacity)
public static Brush ToSolidBrush( 
   AnnSolidColorBrush solidBrush,
   double opacity
)
 function Leadtools.Annotations.Rendering.AnnWinFormsRenderingEngine.ToSolidBrush( 
   solidBrush ,
   opacity 
)

Parameters

solidBrush
Brush object to convert
opacity
Opacity value to use. 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

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