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

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

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

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

    See Also