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.
    See Also