Set1DHeight

 

 

#include “BlackIceDEVMODE.h”

 

BOOL Set1DHeight (BlackIceDEVMODE* pDevMode, DWORD dwHeight);

Description

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.

 

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure

DWORD dwHeight                                      - the fixed 1D barcode height in pixels

Return value

TRUE on success, FALSE otherwise.