Pen.Color

Pen.Color property

Gets or sets the color of this Pen.

public Color Color { get; set; }

Return 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 Pens class.

See Also