Interface: IStubImagesBarcodeConfig
A configuration of messages in stub barcode placeholders.
Example
configuration = {
stubImages: {
barcode: {
postScriptName: "LucidaSans-Italic",
text: "Define a Barcode",
errorText: "ERROR",
},
},
};
Properties
text?
optionaltext?:string
The message to be displayed on stub barcodes. The default value is "Sample".
errorText?
optionalerrorText?:string
The message to be displayed on barcodes with invalid content. The default value is "Error".
postScriptName?
optionalpostScriptName?:string
The font name of text. The default value is "Roboto-Regular".