• getProofImages(options?: object ) : Promise < IProofResult >
  • Renders proof images with the optional maximum width and height. See the Handling Product Customization topic for details.

    // Getting links to proof images.
    editor.getProofImages({maxHeight: 640, maxWidth: 640})
        // If the links to proof images were generated successfully.
        .then(function (result) {
            // Get the links from the promise properties.
            proofImageUrls = result.proofImageUrls;
        // If there was an error thrown while getting links to proof images.
        .catch(function (error) {
            console.error("Getting proof images failed with exception: ", error);


    • Optional options: object

      maximum width and height of proof images.

      • Optional maxHeight?: number
      • Optional maxWidth?: number

    Returns Promise < IProofResult >