---
title: "DefaultConfig Module"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.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/).

# DefaultConfig Module

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
The configuration of design elements being added to the canvas.
  
 - example
     - ```
configuration = {
    defaultItemsConfig: {
        text: {
            font: {
                postScriptName: "Impact",
                size: 33,
                fauxBold: true,
                fauxItalic: true
            },
            color: "rgb(0,255,255)",
            verticalAlignment: "center",
            isVertical: true
        },
        image: {
            location: {
                x: "100%", y: "100%",
                originX: "right", originY: "bottom"
            },
            width: "25%",
            blendMode: "multiply",
            manipulationPermissions: {
                resizeGrips: {
                    edge: true,
                    corner: ["Arbitrary"]
                }
            }
        }
    }
};

CustomersCanvas.IframeApi.loadEditor(iframe, productDefinition, configuration);
```
 
## Modules
  
|  Name |  Description |
| --- | --- |
 |  [WrappingMode](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.wrappingmode.htm.md) |  Text wrapping modes. |
 
## Enumerations
  
|  Name |  Description |
| --- | --- |
 |  [BlendMode](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.blendmode.htm.md) |  Blend modes. |
 |  [OriginPointType](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.originpointtype.htm.md) |  The origin of coordinates. |
 |  [TextAlignment](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.textalignment.htm.md) |  Text alignment types. |
 
## Interfaces
  
|  Name |  Description |
| --- | --- |
 |  [IBarcodeDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ibarcodedefaultconfig.htm.md) |  A structure defining the default parameters of barcodes. These parameters apply to those barcodes that the user adds to the canvas. |
 |  [IBarcodePermissionsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ibarcodepermissionsconfig.htm.md) |  A structure defining the barcode permissions. |
 |  [IBaseTextItemConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ibasetextitemconfig.htm.md) |  A structure defining the basic text parameters. |
 |  [IBoundedTextItemConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iboundedtextitemconfig.htm.md) |  A structure defining the basic parameters of bounded text. |
 |  [IContentItemDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.icontentitemdefaultconfig.htm.md) |  A structure defining the common parameters of text elements and images. |
 |  [IContentPermissionsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.icontentpermissionsconfig.htm.md) |  A structure defining permissions for the placeholder's content. |
 |  [IEllipseItemDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iellipseitemdefaultconfig.htm.md) |  A structure defining the default parameters of ellipses. These parameters apply to those ellipses that the user adds to the canvas. |
 |  [IEmptyBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iemptybarcodecontent.htm.md) |  A structure defining the content of empty barcode placeholders. |
 |  [IGalleryDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.igallerydefaultconfig.htm.md) |  A structure defining the default parameters of the image gallery. |
 |  [IGalleryItemConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.igalleryitemconfig.htm.md) |  A structure defining the default parameters of gallery tabs. |
 |  [IImageItemDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iimageitemdefaultconfig.htm.md) |  A structure containing default parameters of images. These parameters apply to those images that the user adds to the canvas. |
 |  [IImagePermissionsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iimagepermissionsconfig.htm.md) |  A structure defining the image permissions. |
 |  [IItemDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iitemdefaultconfig.htm.md) |  A structure containing parameters of custom design elements. These parameters apply to those elements that the user adds to the canvas. |
 |  [IItemPermissionsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iitempermissionsconfig.htm.md) |  A structure defining common permissions for design elements. |
 |  [IItemToolbarPermissionsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iitemtoolbarpermissionsconfig.htm.md) |  A structure containing the configuration of the Floating item toolbar. |
 |  [ILineItemDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ilineitemdefaultconfig.htm.md) |  A structure containing default parameters of lines. These parameters apply to those lines that the user adds to the canvas. |
 |  [ILinePermissionsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ilinepermissionsconfig.htm.md) |  A structure defining permissions for lines. |
 |  [ILinearBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ilinearbarcodecontent.htm.md) |  A structure defining the content of linear barcodes. |
 |  [ILocationDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ilocationdefaultconfig.htm.md) |  A structure defining the default location of design elements. |
 |  [IManipulationPermissionsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.imanipulationpermissionsconfig.htm.md) |  A structure defining the manipulation permissions. |
 |  [IParagraphSettingsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iparagraphsettingsconfig.htm.md) |  A structure defining the paragraph parameters. |
 |  [IPlaceholderItemDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iplaceholderitemdefaultconfig.htm.md) |  A structure defining the default parameters of image placeholders. These parameters apply to those image placeholders that the user adds to the canvas. |
 |  [IPlaceholderPermissionsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iplaceholderpermissionsconfig.htm.md) |  A structure defining the image placeholder permissions. |
 |  [IPointF](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ipointf.htm.md) |  A structure representing a point in a two-dimensional plane. |
 |  [IQrPhoneBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iqrphonebarcodecontent.htm.md) |  A structure defining the content of VCard QR codes. |
 |  [IQrUrlBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iqrurlbarcodecontent.htm.md) |  A structure defining the content of URL QR codes. |
 |  [IQrVCardBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iqrvcardbarcodecontent.htm.md) |  A structure defining the content of VCard QR codes. |
 |  [IRectangleItemDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.irectangleitemdefaultconfig.htm.md) |  A structure defining the default parameters of rectangles. These parameters apply to those rectangles that the user adds to the canvas. |
 |  [IResizeGripsPermissions](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iresizegripspermissions.htm.md) |  A structure defining the grips that appear on bounding rectangles. |
 |  [IRichTextConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.irichtextconfig.htm.md) |  A structure defining the rich formatted text parameters. |
 |  [IShapeItemDefaultConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ishapeitemdefaultconfig.htm.md) |  A structure defining common shape parameters and parameters of SVG images imported in the Shape mode. |
 |  [IShapePermissionsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ishapepermissionsconfig.htm.md) |  A structure defining permissions for shapes. |
 |  [IStubBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.istubbarcodecontent.htm.md) |  A structure defining the content of stub barcode placeholders. |
 |  [ITextConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.itextconfig.htm.md) |  A structure defining the text parameters. |
 |  [ITextPermissionsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.itextpermissionsconfig.htm.md) |  A structure defining permissions for text elements. |
 |  [IThemeBindingConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ithemebindingconfig.htm.md) |  A structure defining default colors and styles of design elements. |
 |  [IVisualizationPermissionsConfig](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ivisualizationpermissionsconfig.htm.md) |  A structure defining visualization of design elements. |
 
## Type aliases
 
### BarcodeContentType
 
BarcodeContentType: [IEmptyBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iemptybarcodecontent.htm.md)  |  [IStubBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.istubbarcodecontent.htm.md)  |  [ILinearBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.ilinearbarcodecontent.htm.md)  |  [IQrVCardBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iqrvcardbarcodecontent.htm.md)  |  [IQrUrlBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iqrurlbarcodecontent.htm.md)  |  [IQrPhoneBarcodeContent](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.defaultconfig.iqrphonebarcodecontent.htm.md)
 
### ContentResizeMode
 
ContentResizeMode: "fill"  |  "fit"  |  "original"
 
### OverflowStrategy
 
OverflowStrategy: "clip"  |  "fitToWidth"  |  "fitToBox"  |  "expandBox"
 
### ShrinkMode
 
ShrinkMode: "scale"  |  "size"
 
### VerticalAlignmentType
 
VerticalAlignmentType: "top"  |  "center"  |  "bottom"
