Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnPen Constructor
See Also 
Leadtools.Annotations Namespace > AnnPen Class : AnnPen Constructor



color
A Color structure that indicates the color of this AnnPen object.
width
An AnnLength value indicating the width of this AnnPen object.
Initializes a new instance of the AnnPen class with the specified color and width.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal color As Color, _
   ByVal width As AnnLength _
)
Visual Basic (Usage)Copy Code
Dim color As Color
Dim width As AnnLength
 
Dim instance As AnnPen(color, width)
C# 
public AnnPen( 
   Color color,
   AnnLength width
)
C++/CLI 
public:
AnnPen( 
   Color color,
   AnnLength width
)

Parameters

color
A Color structure that indicates the color of this AnnPen object.
width
An AnnLength value indicating the width of this AnnPen object.

Example

For an example, refer to AnnPen.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features