Επεξεργασία

Κοινή χρήση μέσω


Pen.Color Property

Definition

Gets or sets the color of this Pen.

public:
 property System::Drawing::Color Color { System::Drawing::Color get(); void set(System::Drawing::Color value); };
public System.Drawing.Color Color { get; set; }
member this.Color : System.Drawing.Color with get, set
Public Property Color As Color

Property Value

A Color structure that represents the color of this Pen.

Exceptions

The Color property is set on an immutable Pen, such as those returned by the Pens class.

Applies to