TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCCopyToClipboard ( t_BarCode pBarCode,
LONG  nWidth,
LONG  nHeight 
)

Copies barcode to the Windows clipboard (Windows only).

Copies barcode to the Windows clipboard. Call this function after BCCreate(). For Windows 95/98/ME: the used meta-file format (EMF) is not fully supported by these Windows versions. No problems for Windows 2000 or higher are to be expected.

Note:
WINDOWS only
Parameters:
[in]pBarCodePointer to barcode structure.
[in]nWidthWidth of barcode to copy in pixels (of the physical screen).
[in]nHeightHeight of barcode to copy in pixels (of the physical screen).
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.