Creates and inserts a new image inline, which means that it is treated in the text like a single character. The image is inserted at the specified text input position.
<void> ImageCollection.addInline(<string> imageData, <number> textPosition, [<RequestImageCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
image |
The base64 encoded image data. |
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. |
callback | Optional. The newly created image object is returned via this callback function. |
error |
Optional. Is called when the operation failed with an error. |