←Select platform

ToPen(AnnStroke) Method

Summary

Helper method to convert AnnStroke to System.Drawing.Pen.

Syntax

C#
VB
C++
public static Pen ToPen( 
   AnnStroke stroke 
) 
Public Overloads Shared Function ToPen( _ 
   ByVal stroke As Leadtools.Annotations.Core.AnnStroke _ 
) As Pen 
public:  
   static Pen^ ToPen( 
      AnnStroke^ stroke 
   ) 

Parameters

stroke
Stroke object to convert

Return Value

System.Drawing.Pen object created.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly