IProofResult Interface

A structure used by Editor.getProofImages to store a return value. For details, see the Handling Product Customization topic.

example
// Getting links to proof images.
editor.getProofImages({maxHeight: 720, maxWidth: 720})
    // 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);
    });

Properties

proofImageUrls

proofImageUrls: string []

An array of temporary links to proof images.