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

# Enumeration: UpdateSurfaceBehavior

> Surface insertion mode.

## Remarks

You can use this structure in [updateSurfaces](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/classes/ObjectModel.Product.md#updatesurfaces).

## Enumeration Members

### keepCurrentSurfaceLength

> **keepCurrentSurfaceLength**: `"keepCurrentSurfaceLength"`

The number of pages remains the same, and the sizes of the `surfaces` and `newProductSurfaces` arrays must match.

***

### changeSurfaceLength

> **changeSurfaceLength**: `"changeSurfaceLength"`

First deletes all the surfaces of the loaded product and then takes the pages from the new product.
