The properties which can be set to generate an image
AdBarcode1.BackColor the colour behind the bars
AdBarcode1.BorderSize specifies the thickness of any border around the image (in points)
AdBarcode1.Caption specifies the characters that make up the code
AdBarcode1.CodeType specifies the barcode type required
AdBarcode1.ForeColor the colour of the bars and any text under the bars
AdBarcode1.HeightToWidth specifies the height to width ratio of bar for PDF417
AdBarcode1.ImageHeight required target height of barcode image (in units determined by the setting of ScaleMode)
AdBarcode1.ImageWidth required target width of barcode image (in units determined by the setting of ScaleMode)
AdBarcode1.LineReduce specifies the percentage reduction in bar thickness (useful for allowing for ink spread in wet-ink printing processes.
AdBarcode1.ScaleMode specifies the units of ImageHeight, ImageWidth, PictureWidth and PictureHeight parameters (default is 6 = mm)
Many of these properties have default values (see the reference section), so do not require changing if you can make do with the default values. The properties which must be set for you to obtain a barcode are
AdBarcode1.CodeType specifies the barcode type required
AdBarcode1.Caption specifies the characters, which make up the code
A typical example of setting these properties is:
AdBarcode1.CodeType=2 rem code type is 2 for PDF417 type barcode
AdBarcode1.Caption="123456" rem code is 123456
More: