ERRCODE BCSaveImageW ( t_BarCode pBarCode,
LPCWSTR  lpszFileName,
e_IMType  eImageType,
LONG  lXSize,
LONG  lYSize,
DOUBLE  dXRes,
DOUBLE  dYRes 
)

Saves the barcode to an image-file (Windows only).

Saves the barcode to an image-file (format Bmp, Jpg, Png, Eps, Emf...). The values of lXSize and lYSize should be increased, if the barcode is not readable. The values of dXRes and dYRes can affect printing size when printing from graphic- or painting programs. A file extension according to selected image type is appended automatically if the file name does not already end with a safe file extension. Safe file extensions are ".bmp", ".emf", ".eps", ".gif", ".jpg", ".jpeg", ".pcx", ".png", ".tif", and ".tmp".

Note:
WINDOWS only
To be able to generate images with colors different from black and white use the function BCSaveImageEx instead.
See also:
BCSaveImageEx(), BCSaveImageToBuffer(), BCPostscriptToFile(), BCPCLToMemory(), BCGetEnhMetaFile()
Parameters:
[in] pBarCode Pointer to barcode structure.
[in] lpszFileName Filename
[in] eImageType Enumeration for the type of the image.
[in] lXSize X-Size of the image [pixel]. For Vector-EPS the unit is [0.001 mms]
[in] lYSize Y-Size of the image [pixel]. For Vector-EPS the unit is [0.001 mms]
[in] dXRes X-Resolution of the image [pixels / inch].
[in] dYRes Y-Resolution of the image [pixels / inch].
Return values:
ERRCODE ErrOk (0) in case of success. Non-zero if error occurred.

© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Thu Jun 30 16:34:48 2011 for TEC-IT TBarCode Library 10 with doxygen 1.6.2