TBarCode Library 11 TBarCode Library 11

◆ BCSaveImageToBufferEx()

ERRCODE BCSaveImageToBufferEx ( t_BarCode * pBarCode,
HDC hDC,
LPBYTE * lpBuffer,
e_IMType eImageType,
LONG lQuality,
LONG lXSize,
LONG lYSize,
DOUBLE dXRes,
DOUBLE dYRes )

Saves barcode as image into a memory buffer (extended version, Windows only).

Like BCSaveImageToBuffer() with the additional possibility to specify the image quality. For a description refer to BCSaveImageEx().

Note
WINDOWS only. This function can be used with a developer license only.
See also
BCSaveImageToBuffer(), BCSaveImageEx()
Parameters
[in]pBarCodePointer to barcode structure.
[in]hDCDevice context (default: NULL). Use a screen DC for colored bitmaps.
[out]lpBufferBuffer.
[in]eImageTypeEnumeration for the type of the image.
[in]lQualityImage quality (meaning depends on image type).
[in]lXSizeX-Size of the image [pixel]. For vector formats the unit is [0.001 mms]
[in]lYSizeY-Size of the image [pixel]. For vector formats the unit is [0.001 mms]
[in]dXResX-Resolution of the image [pixels / inch].
[in]dYResY-Resolution of the image [pixels / inch].
Return values
ERRCODEErrOk (0) in case of success. Non-zero if error occurred.

© 2026 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on for TBarCode Library 11 with doxygen 1.15.0