Event: OnDrawBarcode

Occurs after representing the barcode symbol. Write an OnDrawBarcode event handler to modify the barcode symbol after it was represented.

Syntax:

type

{ Defined in the pfmxBarcode2D unit }

TUserWorkArea = record
WCanvas: TCanvas;
WBarcode: string;
WBarColor: TAlphaColor;
WSpaceColor: TAlphaColor;
WOpacity: Single;
WModule: Single;
WLeftInPixels: Single;
WTopInPixels: Single;
WAngle: Single;
WShowQuietZone: Boolean;
WMirror: Boolean;
WBarcodeData: TBytes;
WBarcodeLength: Integer;
WQuietZoneWidthInModules_Left: Integer;
WQuietZoneWidthInModules_Top: Integer;
WQuietZoneWidthInModules_Right: Integer;
WQuietZoneWidthInModules_Bottom: Integer;
WSymbolZoneWidthInModules: Integer;
WSymbolZoneHeightInModules: Integer;
WTotalWidthInPixels: Single;
WTotalHeightInPixels: Single;
WSymbolZoneOffsetInPixels_Left: Single;
WSymbolZoneOffsetInPixels_Top: Single;
WAlpha: Single;
WOrgin: TPointF;
WDensityRate: Single;

end;

{ Defined in the pfmxBarcode2D unit }

PUserWorkArea = ^TUserWorkArea;

{ Defined in the pfmxBarcode2D unit }

TOnDrawBarcode = procedure (Sender: TObject; Canvas: TCanvas; PWorkArea: PUserWorkArea) of object;

property OnDrawBarcode: TOnDrawBarcode;

Parameters:

Contents