[]
        
(Showing Draft Content)

Margin

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 - The value to set for all margins.
    • Margin

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

    • getLeft

      public int getLeft()
      Gets left margin.
    • getRight

      public int getRight()
      Gets right margin.
    • getTop

      public int getTop()
      Gets top margin.
    • getBottom

      public int getBottom()
      Gets bottom margin.
    • toString

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