Represents a pattern color fill for a chart element.

constructor

public ChartPatternFill(WorkbookColorInfo backgroundColor, WorkbookColorInfo foregroundColor, PatternType pattern)

Returns ChartPatternFill

Inherited from: ChartObject

Returns the owning chart (read-only)

public WorksheetChart Chart { get; }

Inherited from: ChartObject

returns this object's owner. (read-only)

public ChartObject Owner { get; }

Inherited from: ChartObject

The owning sheet (read-only)

public Sheet Sheet { get; }

Inherited from: ChartObject

The owning workbook (read-only)

public Workbook Workbook { get; }

Inherited from: ChartObject

The owning worksheet (read-only)

public Worksheet Worksheet { get; }

Returns the color which is applied to the background of the fill.

public WorkbookColorInfo BackgroundColor { get; }

Returns the color which is applied to the foreground of the fill.

public WorkbookColorInfo ForegroundColor { get; }

Returns the pattern style of the fill.

public PatternType Pattern { get; }