Inserts a barcode with the built-in mouse interface. The barcode's size is determined through the end-user. A cross cursor indicates where the barcode can be inserted. Changing the document aborts the insertion process.

<void> BarcodeCollection.addWithMouse(<BarcodeType> barcodeType, <string> text, <FrameInsertionMode> insertionMode, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
barcodeType The barcode type.
text The text the barcode should encrypt.
insertionMode Specifies how the text flow is handled.
callback Optional. Is called when the operation successfully started.
errorCallback Optional. Is called when the operation failed with an error.