←Select platform

ToD2DPen(AnnStroke,Double) Method

Summary

Helper method to convert AnnStroke to Leadtools.Windows.D2DRendering.D2DPen using an opacity.

Syntax

C#
VB
WinRT C#
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  
) 

Parameters

stroke
Stroke object to convert

opacity
Opacity value to use. Values can be from 0 to 1.0.

Return Value

Leadtools.Windows.D2DRendering.D2DPen object created.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Rendering Assembly
Click or drag to resize