Package com.pdfgate

Class GeneratePdfParams.PdfPageMargin

java.lang.Object
com.pdfgate.GeneratePdfParams.PdfPageMargin
Enclosing class:
GeneratePdfParams

public static final class GeneratePdfParams.PdfPageMargin extends Object
Margins to apply to a PDF page.
  • Constructor Details

    • PdfPageMargin

      public PdfPageMargin(String top, String bottom, String left, String right)
      Creates a margin set for a rendered PDF.
      Parameters:
      top - top margin value.
      bottom - bottom margin value.
      left - left margin value.
      right - right margin value.
  • Method Details

    • getTop

      public String getTop()
      Returns the top margin value.
      Returns:
      the top margin value.
    • getBottom

      public String getBottom()
      Returns the bottom margin value.
      Returns:
      the bottom margin value.
    • getLeft

      public String getLeft()
      Returns the left margin value.
      Returns:
      the left margin value.
    • getRight

      public String getRight()
      Returns the right margin value.
      Returns:
      the right margin value.