class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Layout\PageSettingsInheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(float $width = 595.275590551, float $height = 841.88976378, PDF\HtmlToPdf\Style\Edges $margin = new Edges(36, 36, 36, 36))Declared methods
contentHeight()
public function contentHeight(): floatcontentWidth()
public function contentWidth(): floatProperties
| Declaration | Origin and documentation |
|---|---|
public readonly float $height | PDF\HtmlToPdf\Layout\PageSettings |
public readonly PDF\HtmlToPdf\Style\Edges $margin | PDF\HtmlToPdf\Layout\PageSettings |
public readonly float $width | PDF\HtmlToPdf\Layout\PageSettings |