Borders

Overview

Borders is a class in Aspose.Cells FOSS for Java.

Represents the border properties for a cell or range in an Excel worksheet.

This class provides 15 methods for working with Borders objects in Java programs. Available methods include: clone, getBottom, getDiagonal, getDiagonalDown, getDiagonalUp, getLeft, getRight, getTop, setBottom, setDiagonal, setDiagonalDown, setDiagonalUp, and 3 additional methods. All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: bottom, diagonal, diagonalDown, diagonalUp, left, right, and 1 more.

Properties

NameTypeAccessDescription
leftBorderReadReturns the left.
rightBorderReadReturns the right.
topBorderReadReturns the top.
bottomBorderReadReturns the bottom.
diagonalBorderReadReturns the diagonal.
diagonalUpbooleanReadReturns the diagonal up.
diagonalDownbooleanReadReturns the diagonal down.

Methods

SignatureDescription
getLeft()BorderReturns the left.
setLeft(left: Border)Sets the left.
getRight()BorderReturns the right.
setRight(right: Border)Sets the right.
getTop()BorderReturns the top.
setTop(top: Border)Sets the top.
getBottom()BorderReturns the bottom.
setBottom(bottom: Border)Sets the bottom.
getDiagonal()BorderReturns the diagonal.
setDiagonal(diagonal: Border)Sets the diagonal.
getDiagonalUp()booleanReturns the diagonal up.
setDiagonalUp(diagonalUp: boolean)Sets the diagonal up.
getDiagonalDown()booleanReturns the diagonal down.
setDiagonalDown(diagonalDown: boolean)Sets the diagonal down.
clone()BordersCreates a deep clone of this Borders instance.

See Also