Package com.grapecity.documents.excel
Interface IBorders
public interface IBorders
-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the bordersget(BordersIndex index) Returns theIBorderobject from a collection.getColor()intGets the color of all four borders.intgetCount()Returns the number of objects in the collection.Gets the line style for the border.Gets the theme color in the applied color scheme that is associated with the specified object.doubleGets a value that lightens or darkens a color.voidvoidsetColorIndex(int value) Sets the color of all four borders.voidsetLineStyle(BorderLineStyle value) Sets the line style for the border.voidsetThemeColor(ThemeColor value) Sets the theme color in the applied color scheme that is associated with the specified object.voidsetTintAndShade(double value) Sets a value that lightens or darkens a color.
-
Method Details
-
getColor
Color getColor() -
setColor
-
getColorIndex
int getColorIndex()Gets the color of all four borders. -
setColorIndex
void setColorIndex(int value) Sets the color of all four borders. -
getThemeColor
ThemeColor getThemeColor()Gets the theme color in the applied color scheme that is associated with the specified object. -
setThemeColor
Sets the theme color in the applied color scheme that is associated with the specified object. -
getTintAndShade
double getTintAndShade()Gets a value that lightens or darkens a color. The valid number is from -1 (darkest) to 1 (lightest). Zero (0) is neutral. -
setTintAndShade
void setTintAndShade(double value) Sets a value that lightens or darkens a color. The valid number is from -1 (darkest) to 1 (lightest). Zero (0) is neutral. -
getLineStyle
BorderLineStyle getLineStyle()Gets the line style for the border. -
setLineStyle
Sets the line style for the border. -
getCount
int getCount()Returns the number of objects in the collection. -
get
Returns theIBorderobject from a collection.- Parameters:
index- Specifies the position of an element in the collection.
-
clear
void clear()Clear the borders
-