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

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

    The Pen create by this pattern is not same as DashPen which DashStyle is DashStyle.DashDot. the PatternPen would always draw solid three pixel, and one pixel space, then 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