Sets user defined resolution.
Sets output resolution to be used in bar code drawing / calculation functions. If not set (default), the resolution of the available device context is used (e.g. screen resolution or printer resolution). Can be used to estimate the quality of a bar code for a specific output resolution (BCGetQuality()). For other purposes this function should be used careful, because bar code dimensions can change unexpectedly.
- See also:
- BCGetDPIHorz(), BCGetDPIVert()
- Parameters:
-
[in] | pBarCode | Pointer to barcode structure. |
[in] | dDPIHorz | User defined horizontal DPI (-1 ... reset to default). |
[in] | dDPIVert | User defined vertical DPI (-1 ... reset to default) ==> Parameter is currently not used. |
- Return values:
-
| ERRCODE | ErrOk (0) in case of success. Non-zero if error occurred. |