Skip to main content

Interface: IProofResult

A structure used by (Editor:class).getProofImages to store a return value.

Example

// Getting links to proof images.
let links = await editor
.getProofImages({
maxHeight: 720,
maxWidth: 720,
pregeneratePreviewImages: true,
})
// If an error occurred while getting links to proof images.
.catch((error) =>
console.error("Getting proof images failed with exception: ", error),
);

// When the links to proof images have been generated successfully, get them from the promise properties.
let proofImageUrls = links.proofImageUrls;

Properties

proofImageUrls

proofImageUrls: string[][]

An array of temporary links to proof images.

Was this page helpful?