TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCGetEnhMetaFile ( t_BarCode pBarCode,
HENHMETAFILE *  phEMF,
LONG  nWidth,
LONG  nHeight 
)

Copies barcode into meta file (Windows only).

Attention:
phEMF must be released with the DeleteEnhMetaFile function if no longer used.
See also:
BCGetEnhMetaFileEx()
Parameters:
[in]pBarCodePointer to barcode structure.
[out]phEMFMeta file handle to be drawn in.
[in]nWidthWidth of barcode to copy.
[in]nHeightHeight of barcode to copy.
Return values:
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.