LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AnnPen Constructor(Color,AnnLength)
See Also 
Leadtools.Annotations Namespace > AnnPen Class > AnnPen Constructor : AnnPen Constructor(Color,AnnLength)



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

The AnnPen Constructor(Color,AnnLength) is available in LEADTOOLS Document and Medical Imaging toolkits.

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 New 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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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