Methods

getByBorderType(borderType) → Border

Gets the Border element at the specified index.

Parameter

Name Type Optional Description

borderType

Number

 

BorderType

Returns

Border The element at the specified index.

getDiagonalColor()

Gets or sets the com.aspose.cells.Color of Diagonal lines.

getDiagonalStyle()

Gets or sets the style of Diagonal lines. The value of the property is CellBorderType integer constant.

setColor(color)

Sets the com.aspose.cells.Color of all borders in the collection.

Parameter

Name Type Optional Description

color

Color

 

Borders'

setDiagonalColor()

Gets or sets the com.aspose.cells.Color of Diagonal lines.

setDiagonalStyle()

Gets or sets the style of Diagonal lines. The value of the property is CellBorderType integer constant.

setStyle(style)

Sets the style of all borders of the collection.

Parameter

Name Type Optional Description

style

Number

 

CellBorderType