Pen.Color

Pen.Color property

Gets or sets the color of this Pen.

public Color Color { get; set; }

Property Value

A Color structure that represents the color of this Pen.

Exceptions

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

See Also