Set1DHeight

Sets the fixed height of 1D barcodes in pixels. This function is only usable if the 1D barcodes are set to a fixed height (Enable1DFixedHeight is called). If the barcode height is automatic (Is1DFixedHeight returns FALSE), the height will not match the value set by Set1DHeight.

Set1DHeight (pDevMode As Long, dwHeight As Long) As Boolean

 

Input value - pDevMode: handle to the BlackIceDEVMODE structure

Input value - dwHeight: the fixed 1D barcode height in pixels

Return value - TRUE on success, FALSE otherwise.


NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.