CanvasAndSizeResult: {
    canvas: Canvas;
    size: CanvasSize;
}

Result object when retrieving the current canvas and size.

Type declaration

  • canvas: Canvas

    The currently selected canvas

  • size: CanvasSize

    The currently selected canvas size

Example

{
"canvas": {
"name": "Wall Tapestry Portrait",
"description": "",
"id": "c3012fd2-8051-42a3-a5f2-e860c13a8798",
"sizes": [
{
"id": "52bcf395-4684-43a7-8b63-11aaa10e0bb9",
"name": "Default",
"priceFactorBasePrice": 1,
"priceFactorOutputType": 1,
"priceFactorPages": 1,
"dimension": {
"width": 2087.9999999987303,
"height": 2807.9999999983906
}
}
]
},
"size": {
"id": "52bcf395-4684-43a7-8b63-11aaa10e0bb9",
"name": "Default",
"priceFactorBasePrice": 1,
"priceFactorOutputType": 1,
"priceFactorPages": 1,
"dimension": {
"width": 2087.9999999987303,
"height": 2807.9999999983906
}
}
}

Generated using TypeDoc