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

PDF\Html\Rendering\ContentProgramWriter
Replay all state, but paint only selected content. Invisible text still advances text matrices.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Html\Rendering\GraphicsExportLimits $limits = new GraphicsExportLimits())

Declared by PDF\Html\Rendering\ContentProgramWriter · View the code ↗

Declared methods

write()

public function write(PDF\Html\Model\GraphicProgram $program, array $ranges, ?PDF\Html\Rendering\GraphicsExportBudget $budget = null): string
@param list<array{int, int}> $ranges

Declared by PDF\Html\Rendering\ContentProgramWriter · View the code ↗