class final readonly Core · pdftoolkit/pdf 0.12.4
PDF\Document\Barcodes\BarcodeFieldPreparationExplicit 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.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 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.Properties
| Declaration | Origin and documentation |
|---|---|
public readonly PDF\Document\Forms\BarcodeField $field | PDF\Document\Barcodes\BarcodeFieldPreparation |
public readonly PDF\Document\Barcodes\BarcodeLimits $limits | PDF\Document\Barcodes\BarcodeFieldPreparation |
public readonly PDF\Document\Barcodes\BarcodeMessagePartition $partition | PDF\Document\Barcodes\BarcodeFieldPreparation |
public readonly array $requests | PDF\Document\Barcodes\BarcodeFieldPreparation@var list<BarcodeEncodingRequest> |