|
ERRCODE BCBitmapToFileW |
( |
t_BarCode * |
pBarCode, |
|
|
LPCWSTR |
szFilename, |
|
|
LPCRECT |
pRect | |
|
) |
| | |
Saves barcode as an image file.
The file name's suffix determines the image format, e.g. 'xxx.gif'. Supported image formats are: BMP, GIF, JPG, PNG and TIF.
All barcodes are supported. Text output is not supported.
- See also:
- BCBitmapToMemory()
- Parameters:
-
[in] | pBarCode | Pointer to barcode structure. |
[in] | szFilename | Path and name of file. |
[in] | pRect | Bounding rectangle for barcode dimensions [1/1000 mm]. (left, top) is the upper left corner of the barcode; must be (0, 0). (right, bottom) is the lower right corner of the barcode; (width, height). |
- Return values:
-
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. |
|