You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.

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