IMarginHV Interface

A structure representing horizontal and vertical margins.

For example, you can use this structure in ICropMark and ISafetyLine.

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.