Interface: ICanvasContentMargin
A structure defining the space (in pixels) between the edges of the canvas viewer and the design. Omitted sides are 0.
Example
configuration = {
canvas: {
contentMargin: { left: 30, top: 40, right: 30, bottom: 40 }
}
};
Properties
left?
optionalleft?:number
The space on the left, in pixels.
top?
optionaltop?:number
The space on the top, in pixels.
right?
optionalright?:number
The space on the right, in pixels.
bottom?
optionalbottom?:number
The space on the bottom, in pixels.