---
title: "IUiConfig Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.iuiconfig.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IUiConfig Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A basic structure for [IConfiguration](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.iconfiguration.htm.md), contains editor settings.
 
## Properties
 
### Optional alignToSafetyLineName
 
alignToSafetyLineName: string

A name of a safety line to which an item will be aligned; if there is no safety line with the name, then the item will be aligned to the first safety line in the safety lines array. The default value is `"bleed"`.
 
### Optional assetSources
 
assetSources: [IAssetSources](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.htm.md)

Asset sources defined for the [Asset Manager](https://customerscanvas.com/docs/cc6/asset-manager.htm.md).
 
### Optional autoLoadUserInfo
 
autoLoadUserInfo: boolean

If `true`, then a product is automatically populated with predefined data when it is loaded into the editor; the **Load my info** button is not displayed. The default value is `false`. For details, see the [Working with User Data](https://customerscanvas.com/docs/cc6/working-with-user-data.htm.md) topic.
 
### Optional canvas
 
canvas: [ICanvasConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.icanvasconfig.htm.md)

A structure containing canvas settings in the editor.
 
### Optional canvasOnlyMode
 
canvasOnlyMode: boolean

The edit mode allowing you to hide all interface elements but the canvas. The default value is `false`.
 
### Optional defaultItemsConfig
 
defaultItemsConfig: [IDefaultItemsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.idefaultitemsconfig.htm.md)

The configuration of design elements being added to a product. For details, see the [Default Parameters of Design Elements](https://customerscanvas.com/docs/cc6/default-parameters-of-design-elements.htm.md) topic.
 
### Optional defaultLanguage
 
defaultLanguage: string

A default interface language. The default value is `"en"`. For details, see the [Localization of Customer's Canvas](https://customerscanvas.com/docs/cc6/localization-of-cc.htm.md) topic.
 
### Optional defaultProductTheme
 
defaultProductTheme: string

Allows for specifying the default color theme. For details, see the [Product Themes](https://customerscanvas.com/docs/cc6/product-themes.htm.md) topic.
 
### Optional deleteItemConfirmationEnabled
 
deleteItemConfirmationEnabled: boolean

Enables the confirmation dialog when deleting an item from a product. The default value is `false`.
 
### Optional fontList
 
fontList: string []  |  object

A list of fonts available for a user in the editor; all these fonts should be uploaded to the font folder on server, by default it is `~/Fonts/`. For details, see the [Custom Fonts](https://customerscanvas.com/docs/cc6/custom-fonts.htm.md) topic.
 
### Optional fontListMode
 
fontListMode: [FontListModeType](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.fontlistmode.htm.md)

A mode of the font list, either `"Simple"` or `"Advanced"`. The simple mode allows a user to select font and set font size; the advanced mode also provides an ability to change font style. The default value is `"Advanced"`.
 
### Optional grid
 
grid: [IGridConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.igridconfig.htm.md)

The grid configuration. For details, see the [Markings](https://customerscanvas.com/docs/cc6/configuring-rulers-and-grids.htm.md) topic.
 
### Optional imageEditorEnabled
 
imageEditorEnabled: boolean

Enables the **Image Editor**. The default value is `true`.
 
### Optional initialMode
 
initialMode: [ModelModeType](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.modelmode.htm.md)

The initial mode of the editor, either `Simple` or `Advanced`. The default value is `Simple`.
 
### Optional loadUserInfoButtonEnabled
 
loadUserInfoButtonEnabled: boolean

Displays the **Load my info** button. The default value is `false`. For details, see the [Working with User Data](https://customerscanvas.com/docs/cc6/working-with-user-data.htm.md) topic.
 
### Optional perSurfaceConfiguration
 
perSurfaceConfiguration: [IPerSurfaceConfiguration](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.ipersurfaceconfiguration.htm.md)

A configuration of widgets, that is defined for separate surfaces.
 
### Optional productThemes
 
productThemes: object

A predefined set of color themes and text styles for the product. For details, see the [Product Themes](https://customerscanvas.com/docs/cc6/product-themes.htm.md) topic.
   
#### productThemes declaration
 
- #####  [name: string ]:  [IProductThemeConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.iproductthemeconfig.htm.md)
 
### Optional restoreProductOnReloadEnabled
 
restoreProductOnReloadEnabled: boolean

Enables restoring a product state when the design page is reloaded in the browser; if `false`, the product is reverted on reloading. The default value is `false`.
 
### Optional revertProductConfirmationEnabled
 
revertProductConfirmationEnabled: boolean

Enables the confirmation dialog when reverting a product to its initial state. The default value is `true`.
 
### Optional spellCheckEnabled
 
spellCheckEnabled: boolean

Enables spell checking for product text fields and for the **Rich text** dialog. The default value is `false`.
 
### Optional themeConfiguration
 
themeConfiguration: [IThemeConfiguration](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.ithemeconfiguration.htm.md)

Defines the primary theme color and a new image for the standard preloader.
 
### Optional userInfo
 
userInfo: object

Data to populate the loaded product template with.
   
#### userInfo declaration
 
- #####  [key: string ]:  string  |  [IBarcodeData](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.editor.ibarcodedata.htm.md)
 
### Optional variableItemsMaskSymbol
 
variableItemsMaskSymbol: string

A symbol marking design elements as variable items. By default, it is `"%"`.
 
### Optional watermark
 
watermark: [IWatermarkConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.iwatermarkconfig.htm.md)

The watermark configuration. For details, see the [Watermarks](https://customerscanvas.com/docs/cc6/watermarks.htm.md) topic.
 
### Optional widgets
 
widgets: [IWidgetsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iwidgetsconfig.htm.md)

The configuration of the editor widgets. For details, see the [Customizing the User Interface](https://customerscanvas.com/docs/cc6/customizing-user-interface.htm.md) topic.
