ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / PatternPen Class / DotPattern Property

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

    The Pen create by this pattern is not same as DashPen which DashStyle is DashStyle.Dot. the PatternPen would always draw solid one 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