Skip to main content

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?

optional text?: string

The message to be displayed on stub barcodes. The default value is "Sample".


errorText?

optional errorText?: string

The message to be displayed on barcodes with invalid content. The default value is "Error".


postScriptName?

optional postScriptName?: string

The font name of text. The default value is "Roboto-Regular".

Was this page helpful?