SystemPens.FromSystemColor Method (Color)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: