ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi Namespace / PatternPen Class / DashDotDotPattern Property

In This Topic
    DashDotDotPattern Property
    In This Topic
    Get a int[] indicate the pattern of DashStyle.DashDotDot
    Syntax
    'Declaration
     
    
    Public Shared ReadOnly Property DashDotDotPattern As Integer()
    public static int[] DashDotDotPattern {get;}
    Remarks

    The Pen create by this pattern is not same as DashPen which DashStyle is DashStyle.DashDotDot. the PatternPen would always draw solid three pixel, and one pixel space, then one pixel solid, one pixel space, one pixel solid, one pixel space.

    Using this style to paint a rectangle, polygon, polyline, it will be lost some pixels at each the corner.

    See Also