This documentation is archived and is not being maintained.

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.


[Visual Basic]
NotInheritable Public Class Pens
public sealed class Pens
public __gc __sealed class Pens
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.


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