|
Barcodesoft Webservice Online Document: UPC-A / EAN13 / Bookland
Byte[] UPCA(string textToEncode,
string strAddon,
BcsImageFormat ImageFormat,
BcsOrientation Orientation,
int Resolution,
int Width,
int Height,
string strToken)
Byte[] UPCE(string textToEncode,
string strAddon,
BcsImageFormat ImageFormat,
BcsOrientation Orientation,
int Resolution,
int Width,
int Height,
string strToken)
Byte[] EAN13(string textToEncode,
string strAddon,
BcsImageFormat ImageFormat,
BcsOrientation Orientation,
int Resolution,
int Width,
int Height,
string strToken)
Byte[] EAN8(string textToEncode,
string strAddon,
BcsImageFormat ImageFormat,
BcsOrientation Orientation,
int Resolution,
int Width,
int Height,
string strToken)
Byte[] Bookland(string textToEncode,
string strAddon,
BcsImageFormat ImageFormat,
BcsOrientation Orientation,
int Resolution,
int Width,
int Height,
string strToken)
UPCA, UPCE, EAN13, EAN8, Bookland accept 8 parameters, returns the barcode image as a byte array.
textToEncode is a string to encode.
addon is a string for either 2-digit or 5-digit addon.
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.
UPC-A, as well as its variations like UPC-E, EAN-13, EAN-8 and Bookland, is the most widely used bar code symbology in retail business. UPCA encodes 11 digits of numeric data plus a check digit. It can be considered to be a subset of EAN13 with the first number system digit set to zero.
|