PatternFill

PatternFill class

Encapsulates the object that represents pattern fill format

Properties

NameTypeDescription
PatternNumberGets or sets the fill pattern type The value of the property is FillPattern integer constant.
BackgroundColorColorGets or sets the background com.aspose.cells.Color of the Area .
BackgroundCellsColorCellsColorGets and sets the foreground CellsColor object.
ForegroundColorColorGets or sets the foreground com.aspose.cells.Color .
ForegroundCellsColorCellsColorGets and sets the foreground CellsColor object.
ForeTransparencyNumberGets or sets the transparency of foreground color.
BackTransparencyNumberGets or sets the transparency of background color.

Methods

NameDescription
equals/
hashCodeGets the hash code.

PatternFill.Pattern property

Gets or sets the fill pattern type The value of the property is FillPattern integer constant.

Type: Number

PatternFill.BackgroundColor property

Gets or sets the background com.aspose.cells.Color of the Area .

Type: Color

PatternFill.BackgroundCellsColor property

Gets and sets the foreground CellsColor object.

Type: CellsColor

PatternFill.ForegroundColor property

Gets or sets the foreground com.aspose.cells.Color .

Type: Color

PatternFill.ForegroundCellsColor property

Gets and sets the foreground CellsColor object.

Type: CellsColor

PatternFill.ForeTransparency property

Gets or sets the transparency of foreground color.

Type: Number

PatternFill.BackTransparency property

Gets or sets the transparency of background color.

Type: Number

equals(obj)

/

ParameterTypeDescription
objObject

hashCode()

Gets the hash code.