public class Border
Example:
Style style = cell.getStyle();
//Set top border style and color
Border border = style.getBorders().getByBorderType(BorderType.TOP_BORDER);
border.setLineStyle(CellBorderType.MEDIUM);
border.setColor(Color.getRed());
cell.setStyle(style);
Property Getters/Setters Summary | ||
---|---|---|
int | getArgbColor() | |
void | setArgbColor(intvalue) | |
Gets and sets the color with a 32-bit ARGB value. | ||
com.aspose.cells.Color | getColor() | |
void | setColor(com.aspose.cells.Colorvalue) | |
Gets or sets the |
||
int | getLineStyle() | |
void | setLineStyle(intvalue) | |
Gets or sets the cell border type. The value of the property is CellBorderType integer constant. | ||
ThemeColor | getThemeColor() | |
void | setThemeColor(ThemeColor value) | |
Gets and sets the theme color of the border. |
public ThemeColor getThemeColor() / public void setThemeColor(ThemeColor value)
public com.aspose.cells.Color getColor() / public void setColor(com.aspose.cells.Color value)
public int getArgbColor() / public void setArgbColor(int value)
public int getLineStyle() / public void setLineStyle(int value)