bitmapapi.cpp File Reference

Public API functions to create bitmap images. More...


Functions

BOOL BCIsImageMagickAvailable ()
 Checks whether ImageMagick-Plug-In is available.
Deprecated:
This functions is no longer used because ImageMagick has been replaced. This functions now always returns TRUE (for backwards-compatibility).
See also:
BCBitmapToFile(), BCBitmapToMemory()
Return values:
BOOL   Always TRUE. ----------------------------------------------------------------------------.


ERRCODE BCBitmapToFileA (t_BarCode* pBarCode, LPCSTR 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() \param[in] pBarCode Pointer to barcode structure. \param[in] szFilename Path and name of file. \param[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. ----------------------------------------------------------------------------.


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() \param[in] pBarCode Pointer to barcode structure. \param[in] szFilename Path and name of file. \param[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. ----------------------------------------------------------------------------.


ERRCODE BCBitmapToMemoryA (t_BarCode* pBarCode, VOID* pHandle, LPCSTR pszFormat, INT* pnSize, LPCRECT pRect)
 Writes barcode in an image format to memory block. All barcodes are supported. Text output is not supported.
\param[in] pBarCode Pointer to barcode structure. \param[in] pHandle Pointer to memory block. \param[in] pszFormat The image format ("BMP" , "GIF", "JPG" , "PNG" or "TIF") \param[in,out] pnSize The size of the allocated memory block. Contains the required size after the function call.
Note:
The returned size is the really needed size + 1. \param[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.
See also:
BCBitmapToFile() ----------------------------------------------------------------------------.


ERRCODE BCBitmapToMemoryW (t_BarCode* pBarCode, VOID* pHandle, LPCWSTR pszFormat, INT* pnSize, LPCRECT pRect)
 Writes barcode in an image format to memory block. All barcodes are supported. Text output is not supported.
\param[in] pBarCode Pointer to barcode structure. \param[in] pHandle Pointer to memory block. \param[in] pszFormat The image format ("BMP" , "GIF", "JPG" , "PNG" or "TIF") \param[in,out] pnSize The size of the allocated memory block. Contains the required size after the function call.
Note:
The returned size is the really needed size + 1. \param[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.
See also:
BCBitmapToFile() ----------------------------------------------------------------------------.



Detailed Description

Public API functions to create bitmap images.

Required include file: "tbarcode.h"

Author(s):
TEC-IT Datenverarbeitung GmbH
Wagnerstr. 6, 4400 Steyr, AUSTRIA/EUROPE
https://www.tec-it.com
Copyright© by TEC-IT Datenverarbeitung GmbH


Function Documentation

ERRCODE BCBitmapToFileA ( t_BarCode * pBarCode,
LPCSTR 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() \param[in] pBarCode Pointer to barcode structure. \param[in] szFilename Path and name of file. \param[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. ----------------------------------------------------------------------------.

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() \param[in] pBarCode Pointer to barcode structure. \param[in] szFilename Path and name of file. \param[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. ----------------------------------------------------------------------------.

ERRCODE BCBitmapToMemoryA ( t_BarCode * pBarCode,
VOID * pHandle,
LPCSTR pszFormat,
INT * pnSize,
LPCRECT pRect )

Writes barcode in an image format to memory block. All barcodes are supported. Text output is not supported.
\param[in] pBarCode Pointer to barcode structure. \param[in] pHandle Pointer to memory block. \param[in] pszFormat The image format ("BMP" , "GIF", "JPG" , "PNG" or "TIF") \param[in,out] pnSize The size of the allocated memory block. Contains the required size after the function call.

Note:
The returned size is the really needed size + 1. \param[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.
See also:
BCBitmapToFile() ----------------------------------------------------------------------------.

ERRCODE BCBitmapToMemoryW ( t_BarCode * pBarCode,
VOID * pHandle,
LPCWSTR pszFormat,
INT * pnSize,
LPCRECT pRect )

Writes barcode in an image format to memory block. All barcodes are supported. Text output is not supported.
\param[in] pBarCode Pointer to barcode structure. \param[in] pHandle Pointer to memory block. \param[in] pszFormat The image format ("BMP" , "GIF", "JPG" , "PNG" or "TIF") \param[in,out] pnSize The size of the allocated memory block. Contains the required size after the function call.

Note:
The returned size is the really needed size + 1. \param[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.
See also:
BCBitmapToFile() ----------------------------------------------------------------------------.

BOOL BCIsImageMagickAvailable ( )

Checks whether ImageMagick-Plug-In is available.

Deprecated:
This functions is no longer used because ImageMagick has been replaced. This functions now always returns TRUE (for backwards-compatibility).
See also:
BCBitmapToFile(), BCBitmapToMemory()
Return values:
BOOL   Always TRUE. ----------------------------------------------------------------------------.


© 2019 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Sat Jul 13 03:16:06 2019 for TBarCode Library 11 with doxygen 1.1.5