Skip to main content
Row

Borders Members

Provides access to cell borders.

Properties

Name Description
BottomBorder Provides access to an object that specifies the bottom border of a cell or cell range.
DiagonalBorderColor Gets or sets the line color of the cell diagonal border.
DiagonalBorderLineStyle Gets or sets the line style of the cell diagonal border.
DiagonalBorderType Gets or sets the type of the cell diagonal border.
InsideHorizontalBorders Provides access to an object that specifies all horizontal borders inside a cell range.
InsideVerticalBorders Provides access to an object that specifies all vertical borders inside a cell range.
LeftBorder Provides access to an object that specifies the left border of a cell or cell range.
RightBorder Provides access to an object that specifies the right border of a cell or cell range.
TopBorder Provides access to an object that specifies the top border of a cell or cell range.

Methods

Name Description
RemoveBorders() Removes all borders from a cell or cell range.
SetAllBorders(Color, BorderLineStyle) Sets all borders of a cell or range of cells.
SetDiagonalBorders(Color, BorderLineStyle, DiagonalBorderType) Sets cell diagonal borders.
SetOutsideBorders(Color, BorderLineStyle) Sets outside borders for a cell or range of cells.
See Also