Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

ToPen(AnnStroke,Double) Method







Stroke object to convert
Opacity value to use. Values can be from 0 to 1.0.
Helper method to convert AnnStroke to System.Drawing.Pen using an opacity.
Syntax
public static Pen ToPen( 
   AnnStroke stroke,
   double opacity
)
'Declaration
 
Public Overloads Shared Function ToPen( _
   ByVal stroke As AnnStroke, _
   ByVal opacity As Double _
) As Pen
'Usage
 
Dim stroke As AnnStroke
Dim opacity As Double
Dim value As Pen
 
value = AnnWinFormsRenderingEngine.ToPen(stroke, opacity)
public static Pen ToPen( 
   AnnStroke stroke,
   double opacity
)
 function Leadtools.Annotations.Rendering.AnnWinFormsRenderingEngine.ToPen(AnnStroke,Double)( 
   stroke ,
   opacity 
)

Parameters

stroke
Stroke object to convert
opacity
Opacity value to use. Values can be from 0 to 1.0.

Return Value

System.Drawing.Pen 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