The macros support a wide range of barcode types, so two initialisation macro is provided to allow the barcode type and other parameters to be set.
For barcode pictures the initialisation macro is
which displays a dialog box allowing the barcode type to be selected, the human-readable text to be shown or hidden and check-digits, bearer bars and margin indicators to be turned on or off.
Once the parameters have been set the PBarcodeSetup macro need only be called again to change the settings.
For further details of the barcode options available see the Advanced Barcode Options section.
For font-based barcodes the initialisation macro is
which displays a dialog box allowing the barcode type to be selected, the font used to create the barcode to be selected, and check-digits to be turned on or off.
Once the parameters have been set the FBarcodeSetup macro need only be called again to change the settings.
Active Control barcodes do not have an initialising macro – the barcode image is initially placed on the document by Inserting an Active Barcode Control object on the document and then setting the object’s properties using a Properties dialog – summoned by right-clicking on the object and choosing Properties from the pop-up menu displayed.
For further details of the barcode options available see the Advanced Barcode Options section.
More: