SystemPens::FromSystemColor Method (Color)

 

Creates a Pen from the specified Color.

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

public:
static Pen^ FromSystemColor(
	Color c
)

Parameters

c
Type: System.Drawing::Color

The Color for the new Pen.

Return Value

Type: System.Drawing::Pen^

The Pen this method creates.

.NET Framework
Available since 1.1
Return to top
Show: