---
title: "IItemData Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.iitemdata.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/).

# IItemData Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure defining text parameters that you can change through [product themes](https://customerscanvas.com/docs/cc6/product-themes.htm.md).
  
**IItemData** contains only optional parameters. When you do not specify them in a product theme, then corresponding properites remain unchanged in your product template.
 
 - example
     - ```
// Define a color set.
var elementStyles = {
    "Classic": {
        "Shapes": {
            "color": "rgb(1,10,9)",
            "borderColor": "rgb(7,70,63)",
            "fillColor": "rgb(9,90,81)"
        },     
        "Headers": { 
            "color": "rgb(185,90,155)", 
            "underline": true,
            "font": {
                "postScriptName": "Calibri",
                "size": 20,
                "fauxBold": true,
                "fauxItalic": false
            }
        }
    }
};

// Set up the theme for your product.
var configuration = {
    productThemes: elementStyles,
    defaultProductTheme: "Classic"
};

// Load the editor.
CustomersCanvas.IframeApi.loadEditor(iframe, productDefinition, configuration);
```
 
## Properties
 
### Optional borderColor
 
borderColor: string

The border color for design elements.
 
### Optional borderWidth
 
borderWidth: number

The border width for design elements.
 
### Optional color
 
color: string

The color in a CSS-compatible format.
 
### Optional fillColor
 
fillColor: string

The fill color for shapes.
 
### Optional font
 
font: [IFontSettings](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.ifontsettings.htm.md)

The font settings.
 
### Optional leading
 
leading: number

The text leading, in points.
 
### Optional opacity
 
opacity: number

The opacity of design elements.
 
### Optional tracking
 
tracking: number

The text tracking, in points.
 
### Optional underline
 
underline: boolean

Whether the text is underlined.
