Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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
)
Managed Extensions for 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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