PatternFill

PatternFill class

Encapsulates the object that represents pattern fill format

Properties

NameTypeDescription
PatternintGets 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.
ForeTransparencyfloatGets or sets the transparency of foreground color.
BackTransparencyfloatGets 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: int

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: float

PatternFill.BackTransparency property

Gets or sets the transparency of background color.

Type: float

equals(obj)

/

ParameterTypeDescription
objObject

hashCode()

Gets the hash code.