---
title: "ResizeRectangleType Enumeration"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.commands.resizerectangletype.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/).

# ResizeRectangleType Enumeration

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
Item resize types.
  
You can use these values in [IContainerResizeOptions](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.commands.icontainerresizeoptions.htm.md).
 
## Enumeration members
 
### Arbitrary
 
Arbitrary:  = 2

Applies an arbitrary resize to items to fit them into the resulting bounding rectangle.
 
### Fill
 
Fill:  = 1

Fills the original bounding rectangle into the resulting one.
 
### Fit
 
Fit:  = 0

Fits the original bounding rectangle into the resulting one and maintains its proportions.
 
### Original
 
Original:  = 3

Expands only the canvas. Items remain in their places in the center of the expanded canvas.
