---
title: "IMarginHV Interface"
canonical: https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.objectmodel.imarginhv.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["4.4.25", "4.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IMarginHV Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · **Archived documentation**
 
A structure representing horizontal and vertical margins.
  
 - example
     - ```
margin: {
    horizontal: 10,
    vertical: 8
}
```
 
## Properties
 
### horizontal
 
horizontal: number

The horizontal margin. This value is used for both left and right margins.
 
### vertical
 
vertical: number

The vertical margin. This value is used for both top and bottom margins.
