PatternFill

PatternFill class

Encapsulates the object that represents pattern fill format

class PatternFill;

Methods

MethodDescription
getPattern()Gets or sets the fill pattern type
setPattern(FillPattern)Gets or sets the fill pattern type
getBackgroundColor()Gets or sets the background System.Drawing.Color of the System.Drawing.Color.
setBackgroundColor(Color)Gets or sets the background System.Drawing.Color of the System.Drawing.Color.
getBackgroundCellsColor()Gets and sets the foreground CellsColor object.
setBackgroundCellsColor(CellsColor)Gets and sets the foreground CellsColor object.
getForegroundColor()Gets or sets the foreground System.Drawing.Color.
setForegroundColor(Color)Gets or sets the foreground System.Drawing.Color.
getForegroundCellsColor()Gets and sets the foreground CellsColor object.
setForegroundCellsColor(CellsColor)Gets and sets the foreground CellsColor object.
getForeTransparency()Gets or sets the transparency of foreground color.
setForeTransparency(number)Gets or sets the transparency of foreground color.
getBackTransparency()Gets or sets the transparency of background color.
setBackTransparency(number)Gets or sets the transparency of background color.

getPattern()

Gets or sets the fill pattern type

getPattern() : FillPattern;

Returns

FillPattern

setPattern(FillPattern)

Gets or sets the fill pattern type

setPattern(value: FillPattern) : void;

Parameters:

ParameterTypeDescription
valueFillPatternThe value to set.

getBackgroundColor()

Gets or sets the background System.Drawing.Color of the System.Drawing.Color.

getBackgroundColor() : Color;

Returns

Color

setBackgroundColor(Color)

Gets or sets the background System.Drawing.Color of the System.Drawing.Color.

setBackgroundColor(value: Color) : void;

Parameters:

ParameterTypeDescription
valueColorThe value to set.

getBackgroundCellsColor()

Gets and sets the foreground CellsColor object.

getBackgroundCellsColor() : CellsColor;

Returns

CellsColor

setBackgroundCellsColor(CellsColor)

Gets and sets the foreground CellsColor object.

setBackgroundCellsColor(value: CellsColor) : void;

Parameters:

ParameterTypeDescription
valueCellsColorThe value to set.

getForegroundColor()

Gets or sets the foreground System.Drawing.Color.

getForegroundColor() : Color;

Returns

Color

setForegroundColor(Color)

Gets or sets the foreground System.Drawing.Color.

setForegroundColor(value: Color) : void;

Parameters:

ParameterTypeDescription
valueColorThe value to set.

getForegroundCellsColor()

Gets and sets the foreground CellsColor object.

getForegroundCellsColor() : CellsColor;

Returns

CellsColor

setForegroundCellsColor(CellsColor)

Gets and sets the foreground CellsColor object.

setForegroundCellsColor(value: CellsColor) : void;

Parameters:

ParameterTypeDescription
valueCellsColorThe value to set.

getForeTransparency()

Gets or sets the transparency of foreground color.

getForeTransparency() : number;

setForeTransparency(number)

Gets or sets the transparency of foreground color.

setForeTransparency(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getBackTransparency()

Gets or sets the transparency of background color.

getBackTransparency() : number;

setBackTransparency(number)

Gets or sets the transparency of background color.

setBackTransparency(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.