接口 IBorders


public interface IBorders
Represents a collection of four IBorder objects that represent thefour borders of an IRange or IStyle object.
  • 方法详细资料

    • getColor

      Color getColor()
      Gets the Color of the IBorder.
    • setColor

      void setColor(Color value)
      Sets the Color of the IBorder.
    • 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

      void setThemeColor(ThemeColor value)
      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

      void setLineStyle(BorderLineStyle value)
      Sets the line style for the border.
    • getCount

      int getCount()
      Returns the number of objects in the collection.
    • get

      IBorder get(BordersIndex index)
      Returns the IBorder object from a collection.
      参数:
      index - Specifies the position of an element in the collection.
    • clear

      void clear()
      Clear the borders