gdimetaapi.cpp File Reference

Public API functions to save barcodes as meta files. More...


Functions

ERRCODE BCGetEnhMetaFile (t_BarCode* pBarCode, HENHMETAFILE* phEMF, LONG nWidth, LONG nHeight)
 Copies barcode into meta file (Windows only).
Attention:
phEMF must be released with the DeleteEnhMetaFile function if no longer used.
See also:
BCGetEnhMetaFileEx() \param[in] pBarCode Pointer to barcode structure. \param[out] phEMF Meta file handle to be drawn in. \param[in] nWidth Width of barcode to copy. \param[in] nHeight Height of barcode to copy.
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.


ERRCODE BCGetEnhMetaFileEx (t_BarCode* pBarCode, HENHMETAFILE* phEMF, HDC hDC, LONG nWidth, LONG nHeight, BOOL fTransparent)
 Copies barcode into meta file (extended version, Windows only).
Attention:
phEMF must be released with the DeleteEnhMetaFile function if no longer used.
See also:
BCGetEnhMetaFile() \param[in] pBarCode Pointer to barcode structure. \param[out] phEMF Meta file handle to be drawn in. \param[in] hDC Device context to copy from (default: NULL). \param[in] nWidth Width of barcode to copy. \param[in] nHeight Height of barcode to copy. \param[in] fTransparent Barcode transparent or not
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.



Detailed Description

Public API functions to save barcodes as meta files.

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 BCGetEnhMetaFile ( t_BarCode * pBarCode,
HENHMETAFILE * phEMF,
LONG nWidth,
LONG nHeight )

Copies barcode into meta file (Windows only).

Attention:
phEMF must be released with the DeleteEnhMetaFile function if no longer used.
See also:
BCGetEnhMetaFileEx() \param[in] pBarCode Pointer to barcode structure. \param[out] phEMF Meta file handle to be drawn in. \param[in] nWidth Width of barcode to copy. \param[in] nHeight Height of barcode to copy.
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.

ERRCODE BCGetEnhMetaFileEx ( t_BarCode * pBarCode,
HENHMETAFILE * phEMF,
HDC hDC,
LONG nWidth,
LONG nHeight,
BOOL fTransparent )

Copies barcode into meta file (extended version, Windows only).

Attention:
phEMF must be released with the DeleteEnhMetaFile function if no longer used.
See also:
BCGetEnhMetaFile() \param[in] pBarCode Pointer to barcode structure. \param[out] phEMF Meta file handle to be drawn in. \param[in] hDC Device context to copy from (default: NULL). \param[in] nWidth Width of barcode to copy. \param[in] nHeight Height of barcode to copy. \param[in] fTransparent Barcode transparent or not
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.


© 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