EnumBarStart Method

Starts enumerating the barcode bars.

Syntax

object.EnumBarStart moduleWidth

Parameters

object

The Barcode Active Server Component

moduleWidth

Numeric value indicating the width of a barcode module in pixels. The width of a barcode module is the same as that of the thinnest bar. So this is effectively a scale factor for scaling the barcode; 1 will be no scaling (minimum width is used), 2 twice the minimum width, etc. The "minimum width" does not guarantee the printed barcode to be scannable, depdending on the printer resolution.

Remarks

After calling EnumBarStart, you'll typically call EnumBarNext multiple times until it returns false, to get the bar position and width information.

Enumerating the barcode bars and rendering the barcode yourself is a more flexible alternative to calling the GetHTML method.