GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PatternFillFormat Class

    Namespace:
    GemBox.Spreadsheet.Drawing
    Assembly:
    GemBox.Spreadsheet.dll

    Represents a fill with a repeated pattern of foreground and background color.

    • C#
    • VB.NET
    public sealed class PatternFillFormat : FillFormat
    Public NotInheritable Class PatternFillFormat
        Inherits FillFormat
    Inheritance:
    System.Object
    FillFormat
    PatternFillFormat

    Properties

    BackgroundColor

    Gets or sets the background color.

    • C#
    • VB.NET
    public DrawingColor BackgroundColor { get; set; }
    Public Property BackgroundColor As DrawingColor
    Property Value
    DrawingColor

    The background color.

    FillType

    Gets the Pattern value.

    • C#
    • VB.NET
    public override FillFormatType FillType { get; }
    Public Overrides ReadOnly Property FillType As FillFormatType
    Property Value
    FillFormatType

    The Pattern value.

    Overrides
    FillFormat.FillType

    ForegroundColor

    Gets or sets the foreground color.

    • C#
    • VB.NET
    public DrawingColor ForegroundColor { get; set; }
    Public Property ForegroundColor As DrawingColor
    Property Value
    DrawingColor

    The foreground color.

    PatternType

    Gets or sets the type of the fill pattern.

    • C#
    • VB.NET
    public PatternFillType PatternType { get; set; }
    Public Property PatternType As PatternFillType
    Property Value
    PatternFillType

    The type of the fill pattern.

    Inherited Methods

    SetGradient(GradientFillType)

    Sets the fill to the gradient fill.

    (Inherited from FillFormat)

    SetNone()

    Sets the fill to none, thus making the area transparent.

    (Inherited from FillFormat)

    SetPattern(PatternFillType, DrawingColor, DrawingColor)

    Sets the fill to the pattern fill.

    (Inherited from FillFormat)

    SetPicture(Content)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetPicture(System.IO.Stream)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetPicture(System.IO.Stream, PictureContentType)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetPicture(System.IO.Stream, System.String)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetPicture(System.String, System.Boolean)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetPicture(System.String, PictureContentType)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetPicture(System.String, System.String)

    Sets the fill to the picture fill.

    This method is not applicable on Fill property.

    (Inherited from FillFormat)

    SetSolid(DrawingColor)

    Sets the fill to the solid fill.

    (Inherited from FillFormat)

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.