IDAutomation Linear Barcode Webservice Help

IDAutomationLinear.Code128 Method 

Encodes the barcode in the Code 128 symbology. Returns the encoded image as a byte array.

[Visual Basic]
Public Function Code128( _
   ByVal Barcode As String, _
   ByVal Code128Set As String, _
   ByVal ShowText As Boolean, _
   ByVal ApplyTilde As Boolean, _
   ByVal ImageFormat As String, _
   ByVal Resolution As Integer, _
   ByVal Rotate As Integer, _
   ByVal BarHeight As String, _
   ByVal XDimensionMils As String _
) As Byte()
[C#]
public byte[] Code128(
   string Barcode,
   string Code128Set,
   bool ShowText,
   bool ApplyTilde,
   string ImageFormat,
   int Resolution,
   int Rotate,
   string BarHeight,
   string XDimensionMils
);

Parameters

Barcode
The string of data to encode.
Code128Set
The Character Set to encode data with. Valad options are 0, A, B, C. If you are unsure which to use, select Character Set 0.
ShowText
Determines whether or not the human readable text is visible in the barcode.
ApplyTilde
Determines whether or not to apply the tilde.
ImageFormat
The type of image to be streamed. Options are JPG, GIF, BMP, PNG and TIFF.
Resolution
The resolution of the image to be returned. For pc display or web applications, this should be set to 96.
Rotate
The rotation angle of the returned barcode. Valid options are 0, 90, 180 and 270.
BarHeight
The height of the barcode in CM. If unsure, use 1.
XDimensionMils
The width in mils (1/1000 of an inch) of the narrow bars. When unsure, use 10.

Return Value

A byte array containing the encoded barcode image in the requested ImageFormat.

See Also

IDAutomationLinear Class | IDAutomationLinearWebService Namespace