Muokkaa

Jaa


SystemPens.FromSystemColor(Color) Method

Definition

Creates a Pen from the specified Color.

public:
 static System::Drawing::Pen ^ FromSystemColor(System::Drawing::Color c);
public static System.Drawing.Pen FromSystemColor (System.Drawing.Color c);
static member FromSystemColor : System.Drawing.Color -> System.Drawing.Pen
Public Shared Function FromSystemColor (c As Color) As Pen

Parameters

c
Color

The Color for the new Pen.

Returns

Pen

The Pen this method creates.

Applies to