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

# Interface: IMarginHV

> A structure representing horizontal and vertical margins.

## Remarks

[ICropMark](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ObjectModel.ICropMark.md) and [ISafetyLine](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ObjectModel.ISafetyLine.md) use this structure.

## Example

```js
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.
