|
Barcodesoft Webservice Online Document: Code11
Byte[] Code11(string textToEncode,
bool ShowHumanReadable,
bool ShowCheckDigit,
BcsImageFormat ImageFormat,
BcsOrientation Orientation,
int Resolution,
int Width,
int Height,
string strToken)
Code11 accepts 9 parameters, returns the barcode image as a byte array.
textToEncode is a string to encode.
ShowHumanReadable is a boolean value for showing human readable text.
ShowCheckDigit is a boolean value for showing check digit.
ImageFormat is in enum BcsImageFormat. It can be set to one of the following values: BMP, JPG, PNG, WMF, TIFF, GIF.
Orientation is in enum BcsOrientation. It can be set to one of the following values: Original, Rotate90, Rotate180, Rotate270.
Resolution is an integer, its values ranges between 96 and 600. Any other value will be reset to 96.
Width is in pixel value. If you set it to zero, it will automatically find a best value for you.
Height is in pixel value. If you set it to zero, it will automatically find a best value for you.
Token is your password using this webservice. You will get a token after you purchase a license from Barcodesoft.
Code 11, also known as USD-8, is designed for telcom industry. Code11 encodes numeric data and hyphen. Start and stop characters are mapped to asterisk.
At least one check digit is required. When string length is longer than 10, two check digits are required. This is because printing device imperfection easily leads to decoding error.
|