class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0

PDF\HtmlToPdf\Layout\PageSettings

Read the source declaration ↗

Inheritance 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 by PDF\HtmlToPdf\Layout\PageSettings · View the code ↗

Declared methods

contentHeight()

public function contentHeight(): float

Declared by PDF\HtmlToPdf\Layout\PageSettings · View the code ↗

contentWidth()

public function contentWidth(): float

Declared by PDF\HtmlToPdf\Layout\PageSettings · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly float $heightPDF\HtmlToPdf\Layout\PageSettings
public readonly PDF\HtmlToPdf\Style\Edges $marginPDF\HtmlToPdf\Layout\PageSettings
public readonly float $widthPDF\HtmlToPdf\Layout\PageSettings