CanvasSize: {
    dimension: Size;
    id: string;
    name: string;
    priceFactorBasePrice: number;
    priceFactorOutputType: number;
    priceFactorPages: number;
}

The canvas size is linked to a Canvas object and used together to define the final Size. The Canvas essentially defines the aspect ratio while the sizes define scale factors for the final dimensions.

Type declaration

  • dimension: Size

    The final dimensions of the canvas using this size item

  • id: string

    The id of the size item (GUID)

  • name: string

    The name of the size item

  • priceFactorBasePrice: number

    The price factor for the base price for this size

  • priceFactorOutputType: number

    The price factor for the output type for this size

  • priceFactorPages: number

    The price factor for the pages for this size

Example

{
"id": "52bcf395-4684-43a7-8b63-11aaa10e0bb9",
"name": "Default",
"priceFactorBasePrice": 1,
"priceFactorOutputType": 1,
"priceFactorPages": 1,
"dimension": {
"width": 2087.9999999987303,
"height": 2807.9999999983906
}
}

Generated using TypeDoc