Export (0) Print
Expand All

Pens Class

Pens for all the standard colors. This class cannot be inherited.

For a list of all members of this type, see Pens Members.

System.Object
   System.Drawing.Pens

[Visual Basic]
NotInheritable Public Class Pens
[C#]
public sealed class Pens
[C++]
public __gc __sealed class Pens
[JScript]
public class Pens

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: System.Drawing

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Drawing (in System.Drawing.dll)

See Also

Pens Members | System.Drawing Namespace

Show:
© 2014 Microsoft