IDAutomation Linear Barcode Webservice Help

IDAutomationLinear.Postnet Method 

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

[Visual Basic]
Public Function Postnet( _
   ByVal Barcode As String, _
   ByVal ShowText As Boolean, _
   ByVal CheckChar As Boolean, _
   ByVal CheckCharText As Boolean, _
   ByVal ImageFormat As String, _
   ByVal Resolution As Integer, _
   ByVal Rotate As Integer, _
   ByVal PostnetTall As String, _
   ByVal PostnetShort As String, _
   ByVal PostnetSpacing As String _
) As Byte()
[C#]
public byte[] Postnet(
   string Barcode,
   bool ShowText,
   bool CheckChar,
   bool CheckCharText,
   string ImageFormat,
   int Resolution,
   int Rotate,
   string PostnetTall,
   string PostnetShort,
   string PostnetSpacing
);

Parameters

Barcode
The string of data to encode.
ShowText
Determines whether or not the human readable text is visible in the barcode.
CheckChar
Determines whether or not to encode the check digit in the barcode.
CheckCharText
Determines whether or not to include the check digit in the human readable text.
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.
PostnetTall
The height of the tall bars.
PostnetShort
The height of the short bar.
PostnetSpacing
The space between the postnet bars.

Return Value

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

See Also

IDAutomationLinear Class | IDAutomationLinearWebService Namespace