The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

PDF::Builder::Resource::XObject::Form::BarCode - Base class for one-dimensional barcodes

METHODS

new

    $barcode = PDF::Builder::Resource::XObject::Form::BarCode->new($pdf, %options)

    Creates a barcode form resource.

width

    $width = $barcode->width()

    Returns the width of the bar code.

height

    $height = $barcode->height()

    Returns the height of the bar code.