|
|
|
|
|
BCToImage (Function) In french: CBVersImage Generates the image of a bar code.
// Generates the image of the bar code MyBarCode is BarCode MyBarCode.Content = "012345678901" MyBarCode.TypeBarCode = BC_EAN13 ImageBarCode is Image = BCToImage(MyBarCode)
Syntax
<Result> = BCToImage(<Bar code> [, <Maximum width> [, <Maximum height> [, <Background color> [, <Bar code color>]]]])
<Result>: Image variable Image variable corresponding to bar code. <Bar code>: BarCode variable Name of the BarCode variable that corresponds to the image to generate. <Maximum width>: Optional integer Maximum width of the image. - If the maximum width is not specified or corresponds to the constant bcDefaultWidth, the width will be the minimum width required to display the barcode.
- If the specified width is less than the minimum width required to display the bar code, an error will be generated.
<Maximum height>: Optional integer Maximum height of the image. - If the height is not specified or corresponds to the constant cbDefaultHeight, the height will be the minimum height required to display the bar code.
- If the specified height is less than the minimum height required to display the bar code, an error will be generated.
<Background color>: Optional integer Image background color. This color can correspond to:If the color is not specified or corresponds to the constant Transparent, the background will be transparent. <Bar code color>: Optional integer Bar code color. This color can correspond to:If the color of the bar code is not specified, the bar code will be black. Remarks Size of image The size of the image will match the size of the bar code.. For example, for a QR Code, if the width specified is sufficient and the required height exceeds the width, the image will have equal dimensions (the height will be equal to the required width).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|