Method: CopyToClipboard - Synatx 2

Copies a barcode symbol to the system clipboard. 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 CopyToClipboard(Barcode: string; AutoCheckDigit: Boolean; BarColor, SpaceColor: TColor; BarcodeTextDefine: TBarcodeTextDefine; Ratio: Double; Module: Integer = 0; Height: Integer = 0; Angle: Integer = 0): Integer; overload; virtual;

Description:

Copies a barcode symbol that is specified in the parameters of this method to the system clipboard.

Parameters:
Return:

See diagram:

CopyToClipboard (Syntax 2)

Note:

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

Contents