Creates and inserts a new barcode which is anchored to the specified text position. It has the specified horizontal alignment and a textflow which is given through the insertion
<void> BarcodeCollection.addAnchored(<RequestBarcodeFrameCallback> callback, [<ErrorCallback> errorCallback], <BarcodeType> barcodeType, <string> text, <HorizontalAlignment> horizontalAlignment, <number> textPosition, <FrameInsertionMode> insertionMode)| Parameter | Description |
|---|---|
| callback | The newly created barcode object is returned via this callback function. |
| error |
Optional. Is called when the operation failed with an error. |
| barcode |
The barcode type. |
| text | The text the barcode should encrypt. |
| horizontal |
Specifies the barcode's horizontal alignment. |
| text |
Specifies the text position at which the barcode is to be inserted. If -1 is specified, the barcode is inserted at the current input position. |
| insertion |
Specifies how the text flow is handled. |