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

PDF\HtmlToPdf\Resource\ImageAsset

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(string $bytes, int $maxBytes = 16777216, int $maxPixels = 16000000)

Declared by PDF\HtmlToPdf\Resource\ImageAsset · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $bytesPDF\HtmlToPdf\Resource\ImageAsset
public readonly int $heightPDF\HtmlToPdf\Resource\ImageAsset
public readonly string $mediaTypePDF\HtmlToPdf\Resource\ImageAsset
public readonly int $widthPDF\HtmlToPdf\Resource\ImageAsset