Method: DrawTo - Synatx 3

Draws a barcode symbol on the specified canvas. The barcode symbol is specified in the parameters of this method.

Syntax:

type

{ Defined in the pCore1D unit }

TDisplayText = (dtNone, dtBarcode, dtFullEncoded);

{ Defined in the pCore1D unit }

TTextPosition = (tpTopIn, tpTopOut, tpBottomIn, tpBottomOut);

{ Defined in the pCore1D unit }

TTextAlignment = (taLeft, taCenter, taRight, taJustify, taLeftQuietZone, taCenterQuietZone, taRightQuietZone, taJustifyQuietZone, taCustom);

function DrawTo(Canvas: TCanvas; Left, Top: Integer; Data: AnsiString; AutoCheckDigit: Boolean; BarColor, SpaceColor: TColor; BarcodeTextDefine: TBarcodeTextDefine; Ratio: Double; Module: Integer = 0; Height: Integer = 0; Angle: Integer = 0; HDPI: Integer = 0; VDPI: Integer = 0): Integer; overload; virtual;

Description:

On the specified canvas, draws a barcode symbol that is specified in the parameters of this method.

Parameters:
Return:

See diagram:

DrawTo (Syntax 3)

Note:

The overloading method is available only for the Delphi/C++ Builder 2009 or later.

Contents