TBarCode Library 11  TBarCode Library 11
ERRCODE _stdcall BCGetEnhMetaFileEx ( t_BarCode pBarCode,
HENHMETAFILE *  phEMF,
HDC  hDC,
LONG  nWidth,
LONG  nHeight,
BOOL  fTransparent 
)

Copies barcode into meta file (extended version, Windows only).

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