Package com.pdfgate
Class GeneratePdfParams.PdfPageMargin
java.lang.Object
com.pdfgate.GeneratePdfParams.PdfPageMargin
- Enclosing class:
GeneratePdfParams
Margins to apply to a PDF page.
-
Constructor Summary
ConstructorsConstructorDescriptionPdfPageMargin(String top, String bottom, String left, String right) Creates a margin set for a rendered PDF. -
Method Summary
-
Constructor Details
-
PdfPageMargin
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
Returns the top margin value.- Returns:
- the top margin value.
-
getBottom
Returns the bottom margin value.- Returns:
- the bottom margin value.
-
getLeft
Returns the left margin value.- Returns:
- the left margin value.
-
getRight
Returns the right margin value.- Returns:
- the right margin value.
-