QR-/Barcode
CreateBarcode
Creates a QR or bar code and returns the Document with the image. The generated barcode image can be manipulated with parameter options.
Syntax
Parameters
CodeText The coding text of the barcode. Type: String
EncodeType (optional) The encode type of the barcode, e.g QR, ISBN, DataMatrix, Pdf417. Default is EAN13 Type: String
XDimension (optional) The X dimension determines a barcode's density. If the X dimension is large so the barcode can hold more information, in fact the barcode is getting bigger. Default dimension is 0,6. Type: Double
YDimension (optional) The Y dimension is to 2D barcodes what the X dimension is for linear barcodes. Default dimension is 2,0. Type: Double
BarcodeColor (optional) The barcode color in ARGB format, e.g. '255,0,0,0' for black Type: String
RotationAngle (optional) The rotation angle in degrees. If angle NOT equal to 90, 180, 270 or 0, it may difficulty to read the image. Type: Double
Return Type
Document
ReadBarcode
Analyzes a QR or bar code and returns the stored information as a string. Input Document must contain an image (supported formats).
Syntax
Parameters
Document Document object containing the barcode image Type: Document
DecodeBarCodeType (optional) Specify the type of barcode to read, e.g QR, ISBN, DataMatrix, Pdf417, Code39Standard. Default is all types. Type: String
Return Type
String
Last updated