- 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
Editor Class
Applies to: Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · Archived documentation
Represents the web-to-print editor.
The interfaces listed below define properties of the objects used as arguments in Customer's Canvas methods
Enumerations
| Name | Description |
|---|---|
| BarcodeFormat |
An enumeration of barcode formats. |
| BarcodeSubType |
An enumeration of Qr code subtypes. |
| ViolationState |
An enumeration of preflight check states. |
Interfaces
| Name | Description |
|---|---|
| IBarcodeData |
A structure containing data that can be encoded into barcodes. |
| IFinishDesignResult |
A structure used by Editor.finishProductDesign to store a return value. For details, see the Introducing the IFrame API topic. |
| IProofResult |
A structure used by Editor.getProofImages to store a return value. For details, see the Introducing the IFrame API topic. |
| ISaveProductResult |
A structure used by Editor.saveProduct to store a return value. For details, see the Introducing the IFrame API topic. |
| ISurfaceUserInfo |
A structure containing user data for a specific product page. |
| ISurfacesChanges |
A structure containing changes the user made to the product on a per-surface basis. |
| IUnchangedItem |
A structure containing a name and a corresponding surface of an unchanged design element. |
| IUnchangedItems |
A structure used by Editor.getUnchangedItems to store a return value. |
| IUserChangeItem |
A structure containing a name and a new value of text elements. |
| IUserChanges |
A structure containing all changes the user made to the product when personalizing it. For details, see the Introducing the IFrame API topic. |
| IUserInfo |
A structure containing user data for populating products. For details, see the Working with User Data topic. |
| IValidationResult |
A structure used by Editor.validateUserInfo to store results of the UserInfo validation. |
| IViolationWarningData |
A structure containing details about design elements that have preflight problems. |
Methods
| Name | Description |
|---|---|
| applyProductTheme |
Applies a color theme to the product. |
| dispose |
Releases all resources used by this Editor. |
| finishProductDesign |
Saves the current product state and returns links to the hi-res output. For details, see the Introducing the IFrame API topic. |
| getProduct |
Returns the product currently loaded in the editor. |
| getProofImages |
Renders proof images with the optional maximum width and height. For details, see the Introducing the IFrame API topic. |
| getUnchangedItems |
Returns a list of layers that have not been personalized by the user. These are the items (texts and placeholders) that are not changed when the product editing is finished. |
| loadUserInfo |
Populates a product with user data. For details, see the Working with User Data topic. |
| redo |
Recovers the last user action on the canvas, which was reverted by the undo command/button. |
| revertProduct |
Cancels all changes made by a user. |
| saveProduct |
Saves a product current state. For details, see the Introducing the IFrame API topic. |
| subscribe |
Links an event with a handler function. PostMessage.Events object contains the supported events. |
| undo |
Reverts the last user action on the canvas. |
| validateUserInfo |
Validates the UserInfo structure. |