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

# Interface: IBgFoldingModeParams

> A structure holding parameters of the folding mode of backgrounds.

## Example

``` js
const product = {
   surfaces: [{
       foldingLines: [{ pen: { color: "white" } }],
       bgFoldingMode: {
           enabled: true,
           flip: {
               enabled: true,
               order: "Odd"
           }
       },
       printAreas: `[{ designFile: "leaflet" }]`
   }]
};
```

## Properties

### enabled?

> `optional` **enabled?**: `boolean`

Enables the folding mode for backgrounds. If `true`, Design Editor replicates a background image in design areas separated by folding lines. The default value is `false`.

***

### flip?

> `optional` **flip?**: `object`

Settings of the background flip for products with folding lines.

#### enabled?

> `optional` **enabled?**: `boolean`

Allows you to flip backgrounds in the folding mode. The default value is `false`.

#### order?

> `optional` **order?**: `"Even"` \| `"Odd"`

The flip order for backgrounds in the folding mode. The `"Even"` order adds the original image to the background first and then the flipped image. The `"Odd"` order places the flipped image first. The default value is `"Even"`.
