C#
VB
WinRT C#
Helper method to convert AnnStroke to Leadtools.Windows.D2DRendering.D2DPen using an opacity.
public static D2DPen ToD2DPen(
Leadtools.Annotations.Core.AnnStroke stroke,
double opacity
)
Public Overloads Shared Function ToD2DPen( _
ByVal stroke As Leadtools.Annotations.Core.AnnStroke, _
ByVal opacity As Double _
) As D2DPen
public static D2DPen ToD2DPen(
Leadtools.Annotations.Core.AnnStroke stroke,
double opacity
)
function Leadtools.Annotations.Rendering.AnnD2DRenderingEngine.ToD2DPen(AnnStroke,Double)(
stroke ,
opacity
)
stroke
Stroke object to convert
opacity
Opacity value to use. Values can be from 0 to 1.0.
Leadtools.Windows.D2DRendering.D2DPen object created.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET