Table of contents
Namespace: Com\Tecnick\Barcode\Type\Square
class PdfFourOneSeven extends Compaction
Extends: Compaction
Source: src/Type/Square/PdfFourOneSeven.php:44
PdfFourOneSeven Barcode type class PDF417 (ISO/IEC 15438:2006)
Continuous multi-row symbology encoding the 128 ASCII characters and the extended ones. Symbol height: 3 to 90 rows Symbol width: 90X to 583X Error correction characters: 2 to 512 Maximum data characters: 1850 text, 2710 digits, 1108 bytes
Methods
getBinSequence()
Creates a PDF417 object as binary string
public getBinSequence(): string
Returns: string: barcode as binary string
Throws:
- Exception: in case of error
Source: src/Type/Square/PdfFourOneSeven.php:393
getCodewords()
Get codewords
public getCodewords(int &$rows, int &$cols, int &$ecl): array<int,int>
Parameters:
$rows(int): number of rows$cols(int): number of columns$ecl(int): error correction level
Returns: array<int,int>
Throws:
- Exception: in case of error
Source: src/Type/Square/PdfFourOneSeven.php:311
Inherited members
From Convert
- getGridArray(): Get a raw barcode grid array
From Type
- __construct(): Initialize a new barcode object
- getArray(): Get the barcode raw array
- getBarsArrayXYWH(): Get the array containing all the formatted bars coordinates (x, y, width, height)
- getBarsArrayXYXY(): Get the array containing all the formatted bars coordinates (x1, y1, x2, y2)
- getExtendedCode(): Get the extended code (code + checksum)
- getGd(): Get the barcode as GD image object (requires GD library)
- getGrid(): Get a raw barcode string representation using characters
- getHtmlDiv(): Get an HTML representation of the barcode.
- getInlineSvgCode(): Get the barcode as inline SVG code.
- getPng(): Get Barcode as PNG Image (requires GD or Imagick library)
- getPngData(): Get the barcode as PNG image (requires GD or Imagick library)
- getPngDataImagick(): Get the barcode as PNG image (requires Imagick library)
- getSvg(): Get the barcode as SVG image object.
- getSvgCode(): Get the barcode as SVG code, including the XML declaration.
- setBackgroundColor(): Set the background color
- setColor(): Set the color of the bars.
- setSize(): Set the size of the barcode to be exported