ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / PatternBrush Class / Pattern Property

In This Topic
    Pattern Property (PatternBrush)
    In This Topic
    Gets or sets the pattern mask.
    Syntax
    'Declaration
     
    
    Public Property Pattern As Byte(,)
    public byte[,] Pattern {get; set;}

    Property Value

    A int array that indicates the pattern. Each bit represents a pixel. 0 - indicates to fill the pixel with foreground color. 1 - indicates to fill the pixel with background color.
    Remarks
    If the Pattern is null or empty, all pixel will be filled with background color.
    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