An immutable object which represents a solid or pattern fill for a cell.

Inheritance

constructor

public CellFillPattern(WorkbookColorInfo backgroundColorInfo, WorkbookColorInfo patternColorInfo, FillPatternStyle patternStyle)

Returns CellFillPattern

Inherited from: CellFill

Gets the default cell fill, which is no background color.

public static CellFill NoColor { get; }

Gets the which describes the background color of the cell, which will only be seen if the is not None.

public WorkbookColorInfo BackgroundColorInfo { get; }

Gets the which describes the pattern color of the cell, which will only be seen if the is not None or Solid.

public WorkbookColorInfo PatternColorInfo { get; }

Gets the fill pattern for the cell.

public FillPatternStyle PatternStyle { get; }

CreateLinearGradientFill(double, Color, Color)

Section titled "CreateLinearGradientFill(double, Color, Color)"

Inherited from: CellFill

Creates a linear gradient that can be applied to a cell's fill.

public static CellFillLinearGradient CreateLinearGradientFill(double angle, Color color1, Color color2)

Parameters

  • angle: double
  • color1: Color
  • color2: Color

Returns any

CreateLinearGradientFill(double, WorkbookColorInfo, WorkbookColorInfo)

Section titled "CreateLinearGradientFill(double, WorkbookColorInfo, WorkbookColorInfo)"

Inherited from: CellFill

Creates a linear gradient that can be applied to a cell's fill.

public static CellFillLinearGradient CreateLinearGradientFill(double angle, WorkbookColorInfo colorInfo1, WorkbookColorInfo colorInfo2)

Parameters

  • angle: double
  • colorInfo1: WorkbookColorInfo
  • colorInfo2: WorkbookColorInfo

Returns any

CreateLinearGradientFill(double, params CellFillGradientStop[])

Section titled "CreateLinearGradientFill(double, params CellFillGradientStop[])"

Inherited from: CellFill

Creates a linear gradient that can be applied to a cell's fill.

public static CellFillLinearGradient CreateLinearGradientFill(double angle, params CellFillGradientStop[] stops)

Parameters

  • angle: double
  • stops: CellFillGradientStop[]

Returns any

CreatePatternFill(Color, Color, FillPatternStyle)

Section titled "CreatePatternFill(Color, Color, FillPatternStyle)"

Inherited from: CellFill

Creates a solid color or pattern fill that can be applied to a cell.

public static CellFillPattern CreatePatternFill(Color backgroundColor, Color patternColor, FillPatternStyle patternStyle)

Parameters

  • backgroundColor: Color
  • patternColor: Color
  • patternStyle: FillPatternStyle

Returns any

CreatePatternFill(WorkbookColorInfo, WorkbookColorInfo, FillPatternStyle)

Section titled "CreatePatternFill(WorkbookColorInfo, WorkbookColorInfo, FillPatternStyle)"

Inherited from: CellFill

Creates a solid color or pattern fill that can be applied to a cell.

public static CellFillPattern CreatePatternFill(WorkbookColorInfo backgroundColorInfo, WorkbookColorInfo patternColorInfo, FillPatternStyle patternStyle)

Parameters

  • backgroundColorInfo: WorkbookColorInfo
  • patternColorInfo: WorkbookColorInfo
  • patternStyle: FillPatternStyle

Returns any

CreateRectangularGradientFill(Color, Color)

Section titled "CreateRectangularGradientFill(Color, Color)"

Inherited from: CellFill

Creates a rectangular gradient that can be applied to a cell's fill.

public static CellFillRectangularGradient CreateRectangularGradientFill(Color color1, Color color2)

Parameters

  • color1: Color
  • color2: Color

Returns any

CreateRectangularGradientFill(double, double, double, double, Color, Color)

Section titled "CreateRectangularGradientFill(double, double, double, double, Color, Color)"

Inherited from: CellFill

Creates a rectangular gradient that can be applied to a cell's fill.

public static CellFillRectangularGradient CreateRectangularGradientFill(double left, double top, double right, double bottom, Color color1, Color color2)

Parameters

  • left: double
  • top: double
  • right: double
  • bottom: double
  • color1: Color
  • color2: Color

Returns any

CreateRectangularGradientFill(WorkbookColorInfo, WorkbookColorInfo)

Section titled "CreateRectangularGradientFill(WorkbookColorInfo, WorkbookColorInfo)"

Inherited from: CellFill

Creates a rectangular gradient that can be applied to a cell's fill.

public static CellFillRectangularGradient CreateRectangularGradientFill(WorkbookColorInfo colorInfo1, WorkbookColorInfo colorInfo2)

Parameters

  • colorInfo1: WorkbookColorInfo
  • colorInfo2: WorkbookColorInfo

Returns any

CreateRectangularGradientFill(double, double, double, double, WorkbookColorInfo, WorkbookColorInfo)

Section titled "CreateRectangularGradientFill(double, double, double, double, WorkbookColorInfo, WorkbookColorInfo)"

Inherited from: CellFill

Creates a rectangular gradient that can be applied to a cell's fill.

public static CellFillRectangularGradient CreateRectangularGradientFill(double left, double top, double right, double bottom, WorkbookColorInfo colorInfo1, WorkbookColorInfo colorInfo2)

Parameters

  • left: double
  • top: double
  • right: double
  • bottom: double
  • colorInfo1: WorkbookColorInfo
  • colorInfo2: WorkbookColorInfo

Returns any

CreateRectangularGradientFill(double, double, double, double, params CellFillGradientStop[])

Section titled "CreateRectangularGradientFill(double, double, double, double, params CellFillGradientStop[])"

Inherited from: CellFill

Creates a rectangular gradient that can be applied to a cell's fill.

public static CellFillRectangularGradient CreateRectangularGradientFill(double left, double top, double right, double bottom, params CellFillGradientStop[] stops)

Parameters

  • left: double
  • top: double
  • right: double
  • bottom: double
  • stops: CellFillGradientStop[]

Returns any

Inherited from: CellFill

Creates a solid color fill that can be applied to a cell.

public static CellFillPattern CreateSolidFill(Color solidColor)

Parameters

  • solidColor: Color

Returns any

Inherited from: CellFill

Creates a solid color fill that can be applied to a cell.

public static CellFillPattern CreateSolidFill(WorkbookColorInfo solidColorInfo)

Parameters

  • solidColorInfo: WorkbookColorInfo

Returns any

Determines whether the is equal to the specified object.

public override bool Equals(object obj)

Parameters

  • obj: object

Returns any

Gets the hash code for the .

public override int GetHashCode()

Returns any