- Introduction
- What's New?
- Features
- Getting Started
- Integration with E-commerce
- Integration with Remote Asset Sources
- Printable Files and Proof Images
- Configuring Products
- Creating Product Templates
- User Interface
- Configuration Files
- API
- Introduction to IFrame API
- IFrame API Reference
- BaseEditor Module
- IframeApi Module
- Configuration Module
- Editor Class
- applyProductTheme Method
- BarcodeFormat Enumeration
- BarcodeSubType Enumeration
- dispose Method
- finishProductDesign Method
- getProduct Method
- getProofImages Method
- getUnchangedItems Method
- IBarcodeData Interface
- IFinishDesignResult Interface
- IProofResult Interface
- ISaveProductResult Interface
- ISurfacesChanges Interface
- ISurfaceUserInfo Interface
- IUnchangedItem Interface
- IUnchangedItems Interface
- IUserChangeItem Interface
- IUserChanges Interface
- IUserInfo Interface
- IValidationResult Interface
- IViolationWarningData Interface
- loadUserInfo Method
- redo Method
- revertProduct Method
- saveProduct Method
- subscribe Method
- undo Method
- validateUserInfo Method
- ViolationState Enumeration
- loadEditor Function
- loadEditorByQueryString Function
- ObjectModel Module
- PostMessage Module
- preload Function
- RuntimeConfiguration Class
- Web API
- Old Query-string API
- Visual Proofing Tool
- Variable Data Printing
- System Requirements
- Troubleshooting
- Licensing
- Copyright Notices
finishProductDesign Method
Applies to: Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · Archived documentation
Callable
-
Saves the current product state and returns links to the hi-res output. For details, see the Introducing the IFrame API topic.
Parameters
-
Optional options: object
Specifies the file name of the resulting high-resolution output, maximum width and height of proof images, and the state file name.
-
Optional file
Name: string The name of the resulting file. This name is only used when you allow end-users directly downloading hi-res files using the links returned by the finishProductDesign method. The file name is combined with a file extension of configured output format. For example, if you pass
business_cardas a value of the argument and configure Customer's Canvas to save results in PDF, the result file name will bebusiness_card.pdf -
Optional proof
Max Height: number The maximum height of proof images, in pixels. This value is
500by default. -
Optional proof
Max Width: number The maximum width of proof images, in pixels. This value is
500by default. -
Optional state
Id: string Specifies a state file name without an extension, up to 36 symbols length. If such a file exists, it will be overwritten. You can pass this parameter for any user except master and default. If you omit this parameter, then a new file name is generated.
-
Returns Promise < IFinishDesignResult >
Returns a promise with the resulting product details: the bounding rectangle, links to the hi-res output, permanent links to proof images, a return-to-edit URL, user changes, userId, and stateId.
-