---
title: "Interface: IStubImagesBarcodeConfig | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ConfigurationInterfaces.IStubImagesBarcodeConfig/"
---

# Interface: IStubImagesBarcodeConfig

> A configuration of messages in stub barcode placeholders.

## Example

``` js
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"`.
