Retrieves the border style of a specific side of a cell within a sheet. Useful to access the styling details of cell borders, such as thickness and color.
public CellBorder GetCellBorder(
BorderType borderType
)
borderType
An enumeration value specifying the side of the cell's border to retrieve the style for.
A CellBorder object representing the styling of the specified border side of the cell. This includes details about the border's color, thickness, and pattern.