共用方式為


SystemPens.FromSystemColor(Color) 方法

定義

從指定的 Pen 建立 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

參數

c
Color

ColorPen

傳回

Pen

這個方法建立的 Pen

適用於