IProofResult

A structure used by Editor.getProofImages to store return value. See the Handling Product Customization topic for details.

example
// Getting links to proof images.
editor.getProofImages({maxHeight: 640, maxWidth: 640})
    // If the links proof images are generated successfully.
    .then(function (result) {
        // Get 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 links to proof images