PdfLayoutFormat.fromFormat constructor

PdfLayoutFormat.fromFormat(
  1. PdfLayoutFormat baseFormat
)

Initializes a new instance of the PdfLayoutFormat class from an existing format.

Implementation

PdfLayoutFormat.fromFormat(PdfLayoutFormat baseFormat) {
  breakType = baseFormat.breakType;
  layoutType = baseFormat.layoutType;
  _paginateBounds = baseFormat._paginateBounds;
  _boundsSet = baseFormat._boundsSet;
}