ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / ColorPen Class
Members

In This Topic
    ColorPen Class
    In This Topic
    Defines a brush that has a solid color.
    Syntax
    'Declaration
     
    
    Public NotInheritable Class ColorPen 
       Inherits Pen
    public sealed class ColorPen : Pen 
    Remarks
    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

    System.Object
       System.MarshalByRefObject
                C1.Framework.Drawing.Gdi.ColorPen

    See Also