TBarCode Library 11  TBarCode Library 11
enum e_SizeMode

Determines how the size of the barcode and the single modules are set.

Enumerator:
eSizeMode_Default 

Default size mode.

The size mode is chosen automatically depending on the other barcode settings: If module width is set (DLL: function BCSetModWidth(); OCX: property TBarCode11Lib::ITBarCodeBase::ModuleWidth), then eSizeMode_CustomModuleWidth is used; otherwise eSizeMode_FitToBoundingRect.

eSizeMode_FitToBoundingRect 

The biggest barcode that fits into the bounding rectangle is chosen.
.

eSizeMode_CustomModuleWidth 

The barcode size is determined by the module width, which is set by BCSetModWidth() and BCSetModWidthN() (DLL) or TBarCode11Lib::ITBarCodeBase::ModuleWidth (OCX).


eSizeMode_MinimalModuleWidth 

The barcode size is determined by the module width.

A minimal module width is automatically calculated for a given resolution and optimized for the barcode decoder. The output/scanning resolution has to be set with BCSetDPI() (DLL) or TBarCode11Lib::ITBarCodeBase::Dpi (OCX). The type of barcode decoder has to be set with BCSetDecoder() (DLL) or TBarCode11Lib::ITBarCodeBase::Decoder (OCX).