support

Barcodesoft Webservice Online Document:
Data Matrix



Byte[] Datamatrix(string textToEncode,
DataMatrixFormat Format,
BcsImageFormat ImageFormat,
BcsOrientation Orientation,
int Resolution,
int Width,
int Height,
string strToken)


Datamatrix accepts 8 parameters, returns the barcode image as a byte array.

textToEncode is a string to encode.

Format is in DataMatrixFormat, its value ranges between 0 and 30. 0 for automatic-selection.

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.

Data Matrix is a two-dimensional matrix bar code symbology.
Its symbol is made up of square modules either black or white.
Usually Data Matrix symbols are black printed on white background, users can also print them as white upon black background.

DataMatrix is a well-designed symbology that is able to encode both 128 ASCII characters (ANSI X3.4) and values 128 to 255 characters, known as extended ASCII (ISO 8859-1).

It is able to encode up to 1000 alpha-numeric characters.

Reed Solomon algorithm is employed for error checking and corecting.

See Also
PDF417
QRCode
AztecCode