A structure holding settings for a set of template-based surfaces. See the Multipage Products topic for details.

productDefinition = {
    surfaces: {
        // Get surfaces from the folder.
        designFolder: "myphotoBook"


Optional designFolder

designFolder: string

A name of the folder containing PSD page templates of the multipage product.

Optional foldingLines

foldingLines: IFoldingLine []

A collection of folding lines defined in the surface (page).

Optional mockupFolder

mockupFolder: string

Name of the folder containing mockup files.

Optional previewMockupFolder

previewMockupFolder: string

Name of the folder containing preview mockup files.

Optional proofImage

proofImage: IProofImage

Optional spines

spines: ISpine []

A collection of spines defined in the surface (page).

Optional upMockup

upMockup: boolean

Defines whether the mockup is displayed above the design (true) or in the background (false). The default value is false.