'宣言
Public NotInheritable Class ColorPen
Inherits Pen
public sealed class ColorPen : Pen
解説
This pen has the same funtion as SolidPen in painting. The width of SolidPen is always 1. This pen will not consume gdi handle. In other word, the Handle property is always IntPtr.Zero. So it can not be used to C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.