class final readonly Core · pdftoolkit/pdf 0.12.4

PDF\Document\Barcodes\BarcodeFieldPreparation
Explicit fresh-field operation, Adobe supplement, section 8.6.3, physical pages 45–47.
Rendering returns unattached widgets in message order; it never changes the field or invokes JavaScript.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Document\Forms\BarcodeField $field, PDF\Document\Barcodes\BarcodeLimits $limits = new BarcodeLimits(), PDF\Document\Barcodes\BarcodeWidgetParameters ...$widgets)

Declared by PDF\Document\Barcodes\BarcodeFieldPreparation · View the code ↗

Declared methods

render()

public function render(PDF\Document\Barcodes\BarcodeImageEncoder $encoder): array
@return list<BarcodeWidgetAppearance> Attach these widgets explicitly in this order.
The selected external encoder must enforce its own allocation/work limits before returning.

Declared by PDF\Document\Barcodes\BarcodeFieldPreparation · View the code ↗

Properties