class final readonly Optional · pdftoolkit/html-to-pdf 0.4.0
PDF\HtmlToPdf\Resource\ImageAssetInheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(string $bytes, int $maxBytes = 16777216, int $maxPixels = 16000000)Properties
| Declaration | Origin and documentation |
|---|---|
public readonly string $bytes | PDF\HtmlToPdf\Resource\ImageAsset |
public readonly int $height | PDF\HtmlToPdf\Resource\ImageAsset |
public readonly string $mediaType | PDF\HtmlToPdf\Resource\ImageAsset |
public readonly int $width | PDF\HtmlToPdf\Resource\ImageAsset |