set-pen in dc<%>

Sets the current pen for this object.

The current pen does not affect text drawing; see also set-text-foreground.

While a pen is selected into a drawing context, it cannot be modified.