Specifies DotCode symbol size.
Specifies the size mode and value. Default size mode is eDCSm_Default.
- See also:
- BCGet_DotCode_SizeMode(), BCGet_DotCode_Size()
- Parameters:
-
[in] | pBarCode | Pointer to barcode structure. |
[in] | eMode | DotCode size mode. |
[in] | szSize | The size value. Depending on the size mode, szSize should have following values:
- eDCSm_Default: the size value is ignored.
- eDCSm_RatioWidthHeight: the size value contains the ratio between width and height ("w:h"). Recommended are values between 1:2 and 2:1 (in mathematical sense).
- eDCSm_FixedWidth: the size value contains the width in number of dots (>= 5).
- eDCSm_FixedHeight: the size value contains the height in number of dots (>= 5).
- eDCSm_FixedWidthHeight: the size value contains the width and height in number of dots ("wxh"). If the given size is greater than needed the barcode is filled up with padding characters. If the given size is invalid or the resulting barcode is too small an error code is returned. If the width is even the height must be odd and vice versa.
|
- Return values:
-
ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. |