ComponentOne Input for WinForms
C1.Win.C1Input.4.5.2 Assembly / C1.Framework.Drawing.Gdi Namespace / ColorPen Class

In This Topic
    ColorPen Class
    In This Topic
    Defines a brush that has a solid color.
    Object Model
    ColorPen Class
    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.
    Inheritance Hierarchy


    See Also