Barcodes Code11

This will create an instance of Code11 barcode.

Syntax

Barcodes.Code11 ( )

Properties

Angle float Angle at which the barcode is placed along the positive X-axis. This can have +/- values in current angle unit.
Elevation float Gets or sets the z coordinate of the starting position.
HatchStyle HatchStyle The hatch pattern used to fill the barcode.
Height float The height of the Barcode.
HumanReadableMarkingOrder MarkingOrder Gets or sets the order in which the hatch and the outline of the human readable text will be marked.
HumanReadableText HumanReadableText Get or Set human readable text settings
Invert bool If true, Inverts the barcode.
LineSpace float Gets or sets the hatching line gap of the barcode.
MarkingOrder MarkingOrder Gets or sets the order in which the hatch and the outline will be marked.
PrintRatio float Gets or sets the print ration (width to narrow ratio) of the barcode.
QuietZone bool Gets or sets whether the quite zone of the barcode is enabled or disabled.
ShowHumanReadableText bool Gets or sets whether the human readable text is visible or not
Text string Alphanumeric characters, which will get encoded into the Barcode.
Width float Gets or sets the width of the Barcode.
X float Gets or sets the X coordinate of the starting position.
Y float Gets or sets the Y coordinate of the starting position.

Return Values

Returns an instance of Code11 type Barcode.

 

Copy
Example
-This program will scan a Code11 barcode  

--Millimeters mode selected 
SetUnits(Units.Millimeters) 
-- Laser Parameter settings 
Laser.JumpSpeed = 2000 
Laser.MarkSpeed = 1000     
--Delay settings 
Laser.JumpDelay = 100 
Laser.MarkDelay = 100     

--Assign Code11 barcode to "var" variable  
var = Barcodes.Code11() 
--Barcode height is 5.5 
var.Height = 5.5 
--Barcode width is 12.5 
var.Width = 12.5 
--x position of the barcode 
var.X = 0.5  
--Y position of the barcode 
var.Y = 0.5  
--10 degree angle to the canvas 
var.Angle = 10 
-- Invert the barcode 
var.Invert = true 
-- Enable quiet zone 
var.QuietZone = true 
--Apply Helix hatch pattern  
var.HatchStyle = HatchStyle.Helix 
--Barcode includes "12345" text as the string 
var.Text = "12345" 
--0.1 unit hatch line gap 
var.LineSpace = 0.1  
--Mark Code11 barcode 
Image.Barcode(var)