Method: Print - Syntax 1

Prints a barcode symbol to printer. The barcode symbol is specified in the properties of this barcode component. Pelase use the method between Printer.BeginDoc and Printer.EndDoc methods.

Syntax:

function Print(Left, Top, Module: Double; BarcodeWidth: Double = 0; BarcodeHeight: Double = 0; Angle: Integer = -1): Integer; overload; virtual;

Description:

Prints current barcode symbol that is specified in the properties of this barcode component to the printer.

Parameters:
Return:
Note:

Pelase use the method between Printer.BeginDoc and Printer.EndDoc methods. For example:

Printer.BeginDoc;

... { Print other content }

Barcode1D_Code391.Print(...); { Print the barcode }

... { Print other content }

Printer.EndDoc;

See diagram:

Print (Syntax 1)

Note:

For Delphi 3, the method overload and default value of parameter aren't supported, so the method name is changed to Print1, and the parameters Module, BarcodeWidth, BarcodeHeight, and Angle are required.

Contents