|  | 
      
        
          | ERRCODE BCGetEnhMetaFile | ( | t_BarCode * | pBarCode, |  
          |  |  | HENHMETAFILE * | phEMF, |  
          |  |  | LONG | nWidth, |  
          |  |  | LONG | nHeight |  |  
          |  | ) |  |  |  |  
Copies barcode into metafile (Windows only). 
 
 Attention:phEMF must be released with the DeleteEnhMetaFile function if no longer used. 
 See also:BCGetEnhMetaFileEx() 
 Parameters:
  
    | [in] | pBarCode | Pointer to barcode structure. |  | [out] | phEMF | Metafile handle to be drawn in. |  | [in] | nWidth | Width of barcode to copy. |  | [in] | nHeight | Height of barcode to copy. | 
 Return values:
  
    |  | ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. | 
 
     |