Class Margin

java.lang.Object
com.grapecity.documents.excel.Margin

public class Margin extends Object
Gets or sets the watermark margin in pixels relative to the cell.
  • Constructor Details

    • Margin

      public Margin(int all)
      Constructor for one argument
      Parameters:
      all -
    • Margin

      public Margin(int top, int right, int bottom, int left)
      Constructor for four arguments
      Parameters:
      top -
      right -
      bottom -
      left -
  • Method Details

    • getLeft

      public int getLeft()
      Gets left margin.
      Returns:
    • getRight

      public int getRight()
      Gets right margin.
      Returns:
    • getTop

      public int getTop()
      Gets top margin.
      Returns:
    • getBottom

      public int getBottom()
      Gets bottom margin.
      Returns:
    • toString

      public String toString()
      Print the margin.
      Overrides:
      toString in class Object