IDAutomation Linear Barcode Webservice Help

IDAutomationLinear.Ean8 Method 

Encodes the barcode in the EAN 8 symbology. Returns the encoded image as a byte array.

[Visual Basic]
Public Function Ean8( _
   ByVal Barcode As String, _
   ByVal ShowText 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[] Ean8(
   string Barcode,
   bool ShowText,
   string ImageFormat,
   int Resolution,
   int Rotate,
   string BarHeight,
   string XDimensionMils
);

Parameters

Barcode
The string of data to encode.
ShowText
Determines whether or not the human readable text is visible in the barcode.
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