# Uses of Class
com.evopdf.PdfMargins

- ## Uses of PdfMargins in com.evopdf

  Fields in com.evopdf declared as PdfMargins
  Modifier and Type
  Field
  Description
  `static final PdfMargins`
  PdfMargins.`EMPTY`
  Empty margins object
  Methods in com.evopdf that return PdfMargins
  Modifier and Type
  Method
  Description
  `PdfMargins`
  Document.`margins()`
  Gets the default document margins.
  `PdfMargins`
  PdfPage.`margins()`
  Gets the page margins
  Methods in com.evopdf with parameters of type PdfMargins
  Modifier and Type
  Method
  Description
  `PdfPage`
  Document.`addPage(PdfMargins pageMargins)`
  Creates a new PDF page and adds it to the collection.
  `PdfPage`
  Document.`addPage(PdfPageSize pageSize, PdfMargins pageMargins)`
  Creates a new PDF page and adds it to the collection.
  `PdfPage`
  Document.`addPage(PdfPageSize pageSize, PdfMargins pageMargins, PdfPageOrientation pageOrientation)`
  Creates a new PDF page with the specified size, margins and orientation and adds it to the collection
  `PdfPage`
  Document.`addPage(PdfPageSize pageSize, PdfMargins pageMargins, PdfPageOrientation pageOrientation, RotationAngle pageRotation)`
  Creates a new PDF page with the specified size, margins and orientation and adds it to the collection
  `PdfPage`
  Document.`insertPage(int index, PdfPageSize pageSize, PdfMargins pageMargins, PdfPageOrientation pageOrientation)`
  Creates a new PDF page with the specified size, margins and orientation and inserts it into the collection at the specified index
  `PdfPage`
  Document.`insertPage(int index, PdfPageSize pageSize, PdfMargins pageMargins, PdfPageOrientation pageOrientation, RotationAngle pageRotation)`
  Creates a new PDF page with the specified size, margins and orientation and inserts it into the collection at the specified index
  `void`
  Document.`setMargins(PdfMargins margins)`
  Sets the default document margins.