appearapi.cpp File Reference


Functions

LONG BCGetBkMode (t_BarCode* pBarCode)
 Gets current background drawing mode. Returns currently adjusted value.
See also:
BCSetBkMode() \param[in] pBarCode Pointer to barcode structure.
Return values:
1   Transparent
2   Opaque (background is filled with background color). This is the default. ----------------------------------------------------------------------------.


ERRCODE BCSetBkMode (t_BarCode* pBarCode, LONG nMode)
 Sets background drawing mode. Specifies whether the barcode background should be transparent or opaque. If set to transparent, no background color is used.
See also:
BCGetBkMode() \param[in] pBarCode Pointer to barcode structure. \param[in] nMode Background mode. - 1: Transparent - 2: Opaque (this is the default)
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.


LONG BCGetBearerBarWidth (t_BarCode* pBarCode)
 Gets the current width of the bearer bars. By default, bearer bars are deactivated (eBearerBar_None). To activate bearer bars the bearer bar type has to be set to eBearerBar_TopAndBottom or eBearerBar_Rectangle. The bearer bar width has to be set to -1 for the default minimum bearer bar width or a value > 0.
The vertical bearer bar is only displayed, if you have set a quiet zone at left and right >= 12 modules (the quiet zone is necessary to keep the bar code readable). \param[in] pBarCode Pointer to barcode structure.
Returns:
The width of the bearer bars in 1/1000 mm or -1 if the default minimum bearer bar width is used.
Remarks:
Usually bearer bars are used with ITF-14 only. The bearer bar was introduced to equalize the pressure exerted by the printing plate over the entire surface of soft materials. It also enhances reading reliability by helping to reduce the probability of misreads by skewed scanning beams.
Bearer-bars are usually drawn below and above the barcode (ITF-14) and are used to avoid partial scans. They can be also drawn as a rectangle. For some barcode symbologies with synchronization bars (like EAN8) you must not enable bearer bars.
See the Barcode Reference for more information.
See also:
BCSetBearerBarWidth(), BCGetBearerBarType(), BCSetBearerBarType() ----------------------------------------------------------------------------.


ERRCODE BCSetBearerBarWidth (t_BarCode* pBarCode, LONG nBearerWidth)
 Sets the width of the bearer bars [1/1000 mm]. By default, bearer bars are deactivated (eBearerBar_None). To activate bearer bars the bearer bar type has to be set to eBearerBar_TopAndBottom or eBearerBar_Rectangle. The bearer bar width has to be set to -1 (for the default minimum bearer bar of 2X) or to a value > 0.
The vertical bearer bar is only displayed, if you have set a quiet zone at left and right >= 12 modules (the quiet zone is necessary to keep the bar code readable).
The rule for the minimum valid quiet zone (left/right) is 10X + bearer bar width (>= 2X). \param[in] pBarCode Pointer to barcode structure. \param[in] nBearerWidth The width of the bearer bars in 1/1000 mm or -1 if the default minimum bearer bar width should be used.
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred.
Remarks:
Usually bearer bars are used with ITF-14 only. The bearer bar was introduced to equalize the pressure exerted by the printing plate over the entire surface of soft materials. It also enhances reading reliability by helping to reduce the probability of misreads by skewed scanning beams.
Bearer-bars are usually drawn below and above the barcode (ITF-14) and are used to avoid partial scans. They can be also drawn as a rectangle. For some barcode symbologies with synchronization bars (like EAN8) you must not enable bearer bars.
See the Barcode Reference for more information.
See also:
BCGetBearerBarWidth(), BCGetBearerBarType(), BCSetBearerBarType() ----------------------------------------------------------------------------.


e_BearerBar BCGetBearerBarType (t_BarCode* pBarCode)
 Gets the current type of the bearer bars. By default, bearer bars are deactivated (eBearerBar_None). To activate bearer bars the bearer bar type has to be set to eBearerBar_TopAndBottom or eBearerBar_Rectangle. The bearer bar width has to be set to -1 (for the default minimum bearer bar width) or a value > 0.
The vertical bearer bar is only displayed if you have set a quiet zone at left and right >= 12 modules (the quiet zone is necessary to keep the bar code readable). \param[in] pBarCode Pointer to barcode structure.
Returns:
The bearer bar type.
Remarks:
Usually bearer bars are used with ITF-14 only. The bearer bar was introduced to equalize the pressure exerted by the printing plate over the entire surface of soft materials. It also enhances reading reliability by helping to reduce the probability of misreads by skewed scanning beams.
Bearer-bars are usually drawn below and above the barcode (ITF-14) and are used to avoid partial scans. They can be also drawn as a rectangle. For some barcode symbologies with synchronization bars (like EAN8) you must not enable bearer bars.
See the Barcode Reference for more information.
See also:
BCSetBearerBarType(), BCGetBearerBarWidth(), BCSetBearerBarWidth() ----------------------------------------------------------------------------.


ERRCODE BCSetBearerBarType (t_BarCode* pBarCode, e_BearerBar eType)
 Sets the type of the bearer bars. By default, bearer bars are deactivated (eBearerBar_None). To activate bearer bars the bearer bar type has to be set to eBearerBar_TopAndBottom or eBearerBar_Rectangle. The bearer bar width has to be set to -1 for the default minimum bearer bar width or a value > 0.
The vertical bearer bar is only displayed, if you have set a quiet zone at left and right >= 12 modules (the quiet zone is necessary to keep the bar code readable). \param[in] pBarCode Pointer to barcode structure. \param[in] eType The type of bearer bar.
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred.
Remarks:
Usually bearer bars are used with ITF-14 only. The bearer bar was introduced to equalize the pressure exerted by the printing plate over the entire surface of soft materials. It also enhances reading reliability by helping to reduce the probability of misreads by skewed scanning beams.
Bearer-bars are usually drawn below and above the barcode (ITF-14) and are used to avoid partial scans. They can be also drawn as a rectangle. For some barcode symbologies with synchronization bars (like EAN8) you must not enable bearer bars.
See the Barcode Reference for more information.
See also:
BCGetBearerBarType(), BCGetBearerBarWidth(), BCSetBearerBarWidth() ----------------------------------------------------------------------------.


BOOL BCGetMirror (t_BarCode* pBarCode)
 Gets if barcode is drawn mirrored (Windows only). Returns currently adjusted value.
See also:
BCSetMirror()
Note:
WINDOWS only. \param[in] pBarCode Pointer to barcode structure.
Return values:
TRUE   barcode will be mirrored
FALSE   barcode will be drawn normally. This is the default ----------------------------------------------------------------------------.


ERRCODE BCSetMirror (t_BarCode* pBarCode, BOOL bMirror)
 Sets if barcode is drawn mirrored (Windows only). Mirrors barcode. Ideal for printing barcodes on transparent films. Used in pre-press applications.
See also:
BCGetMirror()
Note:
Works only in Windows when generating Windows GDI output. \param[in] pBarCode Pointer to barcode structure. \param[in] bMirror Mirror barcode. - TRUE: Bar-code will be mirrored - FALSE: Bar-code will be drawn normally (the default)
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.


LONG BCGetNotchHeight (t_BarCode* pBarCode)
 Gets the current additional length of the synchronization bars (notches). Returns currently adjusted value.
See also:
BCSetNotchHeight() \param[in] pBarCode Pointer to barcode structure.
Return values:
-1   No value set. This is the default
LONG   Otherwise [1/1000 mm] ----------------------------------------------------------------------------.


ERRCODE BCSetNotchHeight (t_BarCode* pBarCode, LONG nHeight)
 Sets the additional length of the synchronization bars (notches). The term "notch" describes the synchronization bars used in some symbologies (like EAN, UPC, JAN, ...). These notches are a little bit longer than normal bars. The original length of these synchronization bars is determined by TBarCode automatically. Use this function to specify an additional length of these bars.
Note:
The notch height does not affect the barcode size calculation. So it is recommended that you don't let the notches exceed the barcode size.
Though negative notch heights are allowed, it is recommended to use positive values only.
See also:
BCGetNotchHeight() \param[in] pBarCode Pointer to barcode structure. \param[in] nHeight Additional notch height [1/1000 mm] (-1 ... reset to default).
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.


e_Degree BCGetRotation (t_BarCode* pBarCode)
 Gets the current rotation of the barcode. Returns currently adjusted value.
See also:
BCSetRotation() \param[in] pBarCode Pointer to barcode structure.
Return values:
deg0   No Rotation. This is the default
e_Degree   Rotation (counter-clockwise) ----------------------------------------------------------------------------.


ERRCODE BCSetRotation (t_BarCode* pBarCode, e_Degree eRotation)
 Sets the rotation of the barcode (counter-clockwise). Rotates the barcode in 90° steps counter-clockwise. If you experience problems with the human readable text, make sure a suitable TrueType font is selected (the selected font must be support rotations).
See also:
BCGetRotation(), BCSetLogFont() \param[in] pBarCode Pointer to barcode structure. \param[in] eRotation Rotation (counter-clockwise).
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.


e_BarShape BCGetBarShape (t_BarCode* pBarCode)
 Gets the current bar shape of the barcode. Returns currently adjusted value.
See also:
BCSetBarShape() \param[in] pBarCode Pointer to barcode structure.
Return values:
eBarShape_Default   Draw bars in the barcode type's default shape.
e_BarShape   Bar Shape ----------------------------------------------------------------------------.


e_BarShape BCGetDefaultShapeForBCType (t_BarCode* pBarCode)
 Gets the default bar shape for current barcode type. Returns default value.
See also:
BCSetBarShape() \param[in] pBarCode Pointer to barcode structure.
Return values:
e_BarShape   Bar Shape ----------------------------------------------------------------------------.


LPCSTR BCGetBarShape_ImageFileNameA (t_BarCode* pBarCode)
 Gets the file name used for drawing image shapes. Returns currently adjusted value.
Attention:
Not Implemented Yet
See also:
BCSetBarShape() \param[in] pBarCode Pointer to barcode structure.
Return values:
NULL   No Image file name set.
LPCSTR   The name of the image file used for drawing image shapes. ----------------------------------------------------------------------------.


LPCWSTR BCGetBarShape_ImageFileNameW (t_BarCode* pBarCode)
 Gets the file name used for drawing image shapes. Returns currently adjusted value.
Attention:
Not Implemented Yet
See also:
BCSetBarShape() \param[in] pBarCode Pointer to barcode structure.
Return values:
NULL   No Image file name set.
LPCSTR   The name of the image file used for drawing image shapes. ----------------------------------------------------------------------------.


ERRCODE BCSetBarShapeA (t_BarCode* pBarCode, e_BarShape eShape, LPCSTR szImageFile)
 Sets the bar shape of the barcode.
Attention:
For average use we strongly recommend to use only bar shape "eBarShape_Default". Using another mode can endanger readability.
A change does make only sense for special applications like advertisements, fun barcodes, etc., that do not enforce the readability of the barcodes.
See also:
BCGetBarShape(), BCGetBarShape_ImageFileName() \param[in] pBarCode Pointer to barcode structure. \param[in] eShape Bar Shape. \param[in] szImageFile Not Implemented Yet Name of the image file. This parameter is used only together with shape "eBarShape_Image". It contains the name of the image file which is used for drawing the bars. For any other shape this parameter is ignored.
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.


ERRCODE BCSetBarShapeW (t_BarCode* pBarCode, e_BarShape eShape, LPCWSTR szImageFile)
 Sets the bar shape of the barcode.
Attention:
For average use we strongly recommend to use only bar shape "eBarShape_Default". Using another mode can endanger readability.
A change does make only sense for special applications like advertisements, fun barcodes, etc., that do not enforce the readability of the barcodes.
See also:
BCGetBarShape(), BCGetBarShape_ImageFileName() \param[in] pBarCode Pointer to barcode structure. \param[in] eShape Bar Shape. \param[in] szImageFile Not Implemented Yet Name of the image file. This parameter is used only together with shape "eBarShape_Image". It contains the name of the image file which is used for drawing the bars. For any other shape this parameter is ignored.
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.



Function Documentation

e_BarShape BCGetBarShape ( t_BarCode * pBarCode )

Gets the current bar shape of the barcode. Returns currently adjusted value.

See also:
BCSetBarShape() \param[in] pBarCode Pointer to barcode structure.
Return values:
eBarShape_Default   Draw bars in the barcode type's default shape.
e_BarShape   Bar Shape ----------------------------------------------------------------------------.

LPCSTR BCGetBarShape_ImageFileNameA ( t_BarCode * pBarCode )

Gets the file name used for drawing image shapes. Returns currently adjusted value.

Attention:
Not Implemented Yet
See also:
BCSetBarShape() \param[in] pBarCode Pointer to barcode structure.
Return values:
NULL   No Image file name set.
LPCSTR   The name of the image file used for drawing image shapes. ----------------------------------------------------------------------------.

LPCWSTR BCGetBarShape_ImageFileNameW ( t_BarCode * pBarCode )

Gets the file name used for drawing image shapes. Returns currently adjusted value.

Attention:
Not Implemented Yet
See also:
BCSetBarShape() \param[in] pBarCode Pointer to barcode structure.
Return values:
NULL   No Image file name set.
LPCSTR   The name of the image file used for drawing image shapes. ----------------------------------------------------------------------------.

e_BearerBar BCGetBearerBarType ( t_BarCode * pBarCode )

Gets the current type of the bearer bars. By default, bearer bars are deactivated (eBearerBar_None). To activate bearer bars the bearer bar type has to be set to eBearerBar_TopAndBottom or eBearerBar_Rectangle. The bearer bar width has to be set to -1 (for the default minimum bearer bar width) or a value > 0.
The vertical bearer bar is only displayed if you have set a quiet zone at left and right >= 12 modules (the quiet zone is necessary to keep the bar code readable). \param[in] pBarCode Pointer to barcode structure.

Returns:
The bearer bar type.
Remarks:
Usually bearer bars are used with ITF-14 only. The bearer bar was introduced to equalize the pressure exerted by the printing plate over the entire surface of soft materials. It also enhances reading reliability by helping to reduce the probability of misreads by skewed scanning beams.
Bearer-bars are usually drawn below and above the barcode (ITF-14) and are used to avoid partial scans. They can be also drawn as a rectangle. For some barcode symbologies with synchronization bars (like EAN8) you must not enable bearer bars.
See the Barcode Reference for more information.
See also:
BCSetBearerBarType(), BCGetBearerBarWidth(), BCSetBearerBarWidth() ----------------------------------------------------------------------------.

LONG BCGetBearerBarWidth ( t_BarCode * pBarCode )

Gets the current width of the bearer bars. By default, bearer bars are deactivated (eBearerBar_None). To activate bearer bars the bearer bar type has to be set to eBearerBar_TopAndBottom or eBearerBar_Rectangle. The bearer bar width has to be set to -1 for the default minimum bearer bar width or a value > 0.
The vertical bearer bar is only displayed, if you have set a quiet zone at left and right >= 12 modules (the quiet zone is necessary to keep the bar code readable). \param[in] pBarCode Pointer to barcode structure.

Returns:
The width of the bearer bars in 1/1000 mm or -1 if the default minimum bearer bar width is used.
Remarks:
Usually bearer bars are used with ITF-14 only. The bearer bar was introduced to equalize the pressure exerted by the printing plate over the entire surface of soft materials. It also enhances reading reliability by helping to reduce the probability of misreads by skewed scanning beams.
Bearer-bars are usually drawn below and above the barcode (ITF-14) and are used to avoid partial scans. They can be also drawn as a rectangle. For some barcode symbologies with synchronization bars (like EAN8) you must not enable bearer bars.
See the Barcode Reference for more information.
See also:
BCSetBearerBarWidth(), BCGetBearerBarType(), BCSetBearerBarType() ----------------------------------------------------------------------------.

LONG BCGetBkMode ( t_BarCode * pBarCode )

Gets current background drawing mode. Returns currently adjusted value.

See also:
BCSetBkMode() \param[in] pBarCode Pointer to barcode structure.
Return values:
1   Transparent
2   Opaque (background is filled with background color). This is the default. ----------------------------------------------------------------------------.

e_BarShape BCGetDefaultShapeForBCType ( t_BarCode * pBarCode )

Gets the default bar shape for current barcode type. Returns default value.

See also:
BCSetBarShape() \param[in] pBarCode Pointer to barcode structure.
Return values:
e_BarShape   Bar Shape ----------------------------------------------------------------------------.

BOOL BCGetMirror ( t_BarCode * pBarCode )

Gets if barcode is drawn mirrored (Windows only). Returns currently adjusted value.

See also:
BCSetMirror()
Note:
WINDOWS only. \param[in] pBarCode Pointer to barcode structure.
Return values:
TRUE   barcode will be mirrored
FALSE   barcode will be drawn normally. This is the default ----------------------------------------------------------------------------.

LONG BCGetNotchHeight ( t_BarCode * pBarCode )

Gets the current additional length of the synchronization bars (notches). Returns currently adjusted value.

See also:
BCSetNotchHeight() \param[in] pBarCode Pointer to barcode structure.
Return values:
-1   No value set. This is the default
LONG   Otherwise [1/1000 mm] ----------------------------------------------------------------------------.

e_Degree BCGetRotation ( t_BarCode * pBarCode )

Gets the current rotation of the barcode. Returns currently adjusted value.

See also:
BCSetRotation() \param[in] pBarCode Pointer to barcode structure.
Return values:
deg0   No Rotation. This is the default
e_Degree   Rotation (counter-clockwise) ----------------------------------------------------------------------------.

ERRCODE BCSetBarShapeA ( t_BarCode * pBarCode,
e_BarShape eShape,
LPCSTR szImageFile )

Sets the bar shape of the barcode.

Attention:
For average use we strongly recommend to use only bar shape "eBarShape_Default". Using another mode can endanger readability.
A change does make only sense for special applications like advertisements, fun barcodes, etc., that do not enforce the readability of the barcodes.
See also:
BCGetBarShape(), BCGetBarShape_ImageFileName() \param[in] pBarCode Pointer to barcode structure. \param[in] eShape Bar Shape. \param[in] szImageFile Not Implemented Yet Name of the image file. This parameter is used only together with shape "eBarShape_Image". It contains the name of the image file which is used for drawing the bars. For any other shape this parameter is ignored.
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.

ERRCODE BCSetBarShapeW ( t_BarCode * pBarCode,
e_BarShape eShape,
LPCWSTR szImageFile )

Sets the bar shape of the barcode.

Attention:
For average use we strongly recommend to use only bar shape "eBarShape_Default". Using another mode can endanger readability.
A change does make only sense for special applications like advertisements, fun barcodes, etc., that do not enforce the readability of the barcodes.
See also:
BCGetBarShape(), BCGetBarShape_ImageFileName() \param[in] pBarCode Pointer to barcode structure. \param[in] eShape Bar Shape. \param[in] szImageFile Not Implemented Yet Name of the image file. This parameter is used only together with shape "eBarShape_Image". It contains the name of the image file which is used for drawing the bars. For any other shape this parameter is ignored.
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.

ERRCODE BCSetBearerBarType ( t_BarCode * pBarCode,
e_BearerBar eType )

Sets the type of the bearer bars. By default, bearer bars are deactivated (eBearerBar_None). To activate bearer bars the bearer bar type has to be set to eBearerBar_TopAndBottom or eBearerBar_Rectangle. The bearer bar width has to be set to -1 for the default minimum bearer bar width or a value > 0.
The vertical bearer bar is only displayed, if you have set a quiet zone at left and right >= 12 modules (the quiet zone is necessary to keep the bar code readable). \param[in] pBarCode Pointer to barcode structure. \param[in] eType The type of bearer bar.

Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred.
Remarks:
Usually bearer bars are used with ITF-14 only. The bearer bar was introduced to equalize the pressure exerted by the printing plate over the entire surface of soft materials. It also enhances reading reliability by helping to reduce the probability of misreads by skewed scanning beams.
Bearer-bars are usually drawn below and above the barcode (ITF-14) and are used to avoid partial scans. They can be also drawn as a rectangle. For some barcode symbologies with synchronization bars (like EAN8) you must not enable bearer bars.
See the Barcode Reference for more information.
See also:
BCGetBearerBarType(), BCGetBearerBarWidth(), BCSetBearerBarWidth() ----------------------------------------------------------------------------.

ERRCODE BCSetBearerBarWidth ( t_BarCode * pBarCode,
LONG nBearerWidth )

Sets the width of the bearer bars [1/1000 mm]. By default, bearer bars are deactivated (eBearerBar_None). To activate bearer bars the bearer bar type has to be set to eBearerBar_TopAndBottom or eBearerBar_Rectangle. The bearer bar width has to be set to -1 (for the default minimum bearer bar of 2X) or to a value > 0.
The vertical bearer bar is only displayed, if you have set a quiet zone at left and right >= 12 modules (the quiet zone is necessary to keep the bar code readable).
The rule for the minimum valid quiet zone (left/right) is 10X + bearer bar width (>= 2X). \param[in] pBarCode Pointer to barcode structure. \param[in] nBearerWidth The width of the bearer bars in 1/1000 mm or -1 if the default minimum bearer bar width should be used.

Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred.
Remarks:
Usually bearer bars are used with ITF-14 only. The bearer bar was introduced to equalize the pressure exerted by the printing plate over the entire surface of soft materials. It also enhances reading reliability by helping to reduce the probability of misreads by skewed scanning beams.
Bearer-bars are usually drawn below and above the barcode (ITF-14) and are used to avoid partial scans. They can be also drawn as a rectangle. For some barcode symbologies with synchronization bars (like EAN8) you must not enable bearer bars.
See the Barcode Reference for more information.
See also:
BCGetBearerBarWidth(), BCGetBearerBarType(), BCSetBearerBarType() ----------------------------------------------------------------------------.

ERRCODE BCSetBkMode ( t_BarCode * pBarCode,
LONG nMode )

Sets background drawing mode. Specifies whether the barcode background should be transparent or opaque. If set to transparent, no background color is used.

See also:
BCGetBkMode() \param[in] pBarCode Pointer to barcode structure. \param[in] nMode Background mode. - 1: Transparent - 2: Opaque (this is the default)
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.

ERRCODE BCSetMirror ( t_BarCode * pBarCode,
BOOL bMirror )

Sets if barcode is drawn mirrored (Windows only). Mirrors barcode. Ideal for printing barcodes on transparent films. Used in pre-press applications.

See also:
BCGetMirror()
Note:
Works only in Windows when generating Windows GDI output. \param[in] pBarCode Pointer to barcode structure. \param[in] bMirror Mirror barcode. - TRUE: Bar-code will be mirrored - FALSE: Bar-code will be drawn normally (the default)
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.

ERRCODE BCSetNotchHeight ( t_BarCode * pBarCode,
LONG nHeight )

Sets the additional length of the synchronization bars (notches). The term "notch" describes the synchronization bars used in some symbologies (like EAN, UPC, JAN, ...). These notches are a little bit longer than normal bars. The original length of these synchronization bars is determined by TBarCode automatically. Use this function to specify an additional length of these bars.

Note:
The notch height does not affect the barcode size calculation. So it is recommended that you don't let the notches exceed the barcode size.
Though negative notch heights are allowed, it is recommended to use positive values only.
See also:
BCGetNotchHeight() \param[in] pBarCode Pointer to barcode structure. \param[in] nHeight Additional notch height [1/1000 mm] (-1 ... reset to default).
Return values:
ERRCODE   ErrOk (0) in case of success. Non-zero if error occurred. ----------------------------------------------------------------------------.

ERRCODE BCSetRotation ( t_BarCode * pBarCode,
e_Degree eRotation )

Sets the rotation of the barcode (counter-clockwise). Rotates the barcode in 90° steps counter-clockwise. If you experience problems with the human readable text, make sure a suitable TrueType font is selected (the selected font must be support rotations).

See also:
BCGetRotation(), BCSetLogFont() \param[in] pBarCode Pointer to barcode structure. \param[in] eRotation Rotation (counter-clockwise).
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