asposecells.api
Class Border

Encapsulates the object that represents the cell border.

Example:

workbook = Workbook()
worksheet = workbook.getWorksheets().get(0)
cell = worksheet.getCells().get(0, 0)
style = workbook.createStyle()
# Set top border style and color
border = style.getBorders().getByBorderType(BorderType.TOP_BORDER)
border.setLineStyle(CellBorderType.MEDIUM)
border.setColor(Color.getRed())
cell.setStyle(style)

Property Getters/Setters Summary
methodgetArgbColor()
methodsetArgbColor(value)
           Gets and sets the color with a 32-bit ARGB value.
methodgetColor()
methodsetColor(value)
           Gets or sets the com.aspose.cells.Color of the border.
methodgetLineStyle()
methodsetLineStyle(value)
           Gets or sets the cell border type. The value of the property is CellBorderType integer constant.
methodgetThemeColor()
methodsetThemeColor(value)
           Gets and sets the theme color of the border.
 

Property Getters/Setters Detail

getThemeColor/setThemeColor : ThemeColor 

ThemeColor getThemeColor() / setThemeColor(value)
Gets and sets the theme color of the border.

getColor/setColor : Color 

Color getColor() / setColor(value)
Gets or sets the com.aspose.cells.Color of the border.

getArgbColor/setArgbColor : int 

int getArgbColor() / setArgbColor(value)
Gets and sets the color with a 32-bit ARGB value.

getLineStyle/setLineStyle : int 

int getLineStyle() / setLineStyle(value)
Gets or sets the cell border type. The value of the property is CellBorderType integer constant.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.