|
ERRCODE BCSaveImage |
( |
t_BarCode * |
pBarCode, |
|
|
LPCSTR |
lpszFileName, |
|
|
e_IMType |
eImageType, |
|
|
LONG |
lXSize, |
|
|
LONG |
lYSize, |
|
|
LONG |
lXRes, |
|
|
LONG |
lYRes | |
|
) |
| | |
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 lXRes and lYRes can affect printing size when printing from graphic- or painting programs. - Note:
- WINDOWS only
- 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]. |
[in] | lYSize | Y-Size of the image [pixel]. |
[in] | lXRes | X-Resolution of the image [pixels / inch]. |
[in] | lYRes | Y-Resolution of the image [pixels / inch]. |
- Return values:
-
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. |
|