---
title: "IMarginHV Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.imarginhv.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/).

# IMarginHV Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure representing horizontal and vertical margins.
  
For example, you can use this structure in [ICropMark](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.icropmark.htm.md) and [ISafetyLine](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.objectmodel.isafetyline.htm.md).
 
 - 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.
