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.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also