- Introduction
- What's New?
- Features
- Upgrading the Design Editor
- Breaking Changes in 6.0
- 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
- APIs
- IFrame API
- Getting Started with IFrame API
- Using the Design Atoms Framework in IFrame API
- Changing the Product Size
- BaseEditor Module
- IframeApi Module
- Commands Module
- Configuration Module
- BarcodeType Enumeration
- ColorSpace Module
- DefaultConfig Module
- FinishButtonMode Module
- FontListMode Module
- GallerySource Module
- ICanvasConfig Interface
- IConfiguration Interface
- IDefaultItemsConfig Interface
- IFontSettings Interface
- IGridConfig Interface
- IHandlersConfiguration Interface
- IItemData Interface
- ImageSize Module
- InStringPlaceholderMode Module
- IPdfMetadata Interface
- IPrintZoneConfig Interface
- IPrintZoneConfiguration Interface
- IProductThemeConfig Interface
- IPublicApiConfig Interface
- IQualityLevelsConfig Interface
- IQualityMeterConfig Interface
- IRenderingProperty Interface
- IRotationConfig Interface
- IRulersConfig Interface
- IShadowSettings Interface
- ISnapElementConfiguration Interface
- ISnapLinesConfig Interface
- IStrokeSettings Interface
- IStubImagesBarcodeConfig Interface
- IStubImagesConfig Interface
- IUiConfig Interface
- IViolationWarningsSettingsConfig Interface
- IWatermarkConfig Interface
- IWatermarkImageConfig Interface
- IWatermarkTextConfig Interface
- IWatermarkVisibilityConfig Interface
- ModelMode Module
- ObjectInspectorPosition Module
- PdfActionMode Module
- PlaceholderEditingViewMode Enumeration
- PsdActionMode Module
- RotationAlgorithm Module
- RulersConfigUnit Module
- SvgActionMode Module
- TextAlignment Module
- TextEditorMode Enumeration
- Editor Class
- loadEditor Function
- ObjectModel Module
- PostMessage Module
- preload Function
- RuntimeConfiguration Class
- Web API
- Design Atoms Framework
- UI Framework
- Dynamic Image API
- IFrame API
- Add-ons
- System Requirements
- Troubleshooting
- Migrating Your Applications
- Licensing
- Copyright Notices
ICanvasConfig Interface
Applies to: Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · Archived documentation
A structure containing canvas settings in the editor.
Properties
Optional autoItemSelectionEnabled
Allows for auto selecting the first design element in the simple and advanced editing modes. The default value is false.
Optional autoPlaceholderEditModeEnabled
Allows your users to work with the content of image placeholders by clicking a placeholder in either simple or advanced edit mode. If true, the Handle does not appear on image placeholders. The default value is false.
Optional canvasItemHoverEnabled
Enables text labels for editable design elements. The default value is false. For details, see the Defining Names of Design Elements topic.
Optional color
The canvas color; this color is visible if a transparent object is placed on the canvas.
Optional containerColor
The color of the HTML element placed under the canvas.
Optional floatingItemToolbarEnabled
Enables the floating toolbar with the Select Image, Edit, and Delete buttons for a highlighted design element right on the canvas. Select Image appears for images and image placeholders. The Edit button allows for editing images and the content of text elements and image placeholders. You can configure this toolbar by using IItemToolbarPermissionsConfig. The default value is false.
Optional gridVisible
Enables the grid when the canvas opens. The default value is false.
Optional handlers
A structure defining the item processing rules.
Optional historySize
The number of actions in the Design Editor that can be reverted by using the Undo button. The default value is 10.
Optional maskedPlaceholderUnderscoreEnabled
Enables displaying underscores in blank masked text layers. If false and the user has partially filled the text placeholder in, then the rest blank symbols are displayed as spaces. If true, the blank portion of the text layer displays underscores. The default value is true.
Optional multipleObjectsUpdateOptimizationEnabled
Optimizes the load time of templates consisting of a large number of layers. The default value is true.
Optional paddingPct
Padding between the canvas and the canvas viewer, in percent.
Optional pinchZoomEnabled
Allows users to zoom the canvas using the pinch gesture on mobile devices. The default value is true.
Optional printZone
A structure defining the appearance of the bleed zone on the canvas.
Optional qualityChangeContainersEnabled
Enables a bar displaying the DPI value of images on the canvas. If true, then the bar appears when your users resizing images or image placeholder. The default value is false.
Optional rotation
A structure containing the canvas rotation parameters. By default, the canvas rotates at 90 degrees when clicking the Rotate button in the Bottom Toolbar.
Optional rulers
A structure containing the configuration of rulers. For details, see the Markings topic.
Optional safetyLinesVisible
Enables safety lines when the canvas opens. The default value is true.
Optional shadowEnabled
Enables the canvas shadow. The default value is false.
Optional snapLines
A structure containing the configuration of snap lines.
Optional snapLinesVisible
Enables snap lines when the canvas opens. The default value is true.
Optional suppressOutOfRegionManipulation
Disallows working with elements outside of regions on the canvas. If true, then your users cannot manipulate items out of regions. The default value is true.
Optional textEditor
Specifies the text editor mode when the WYSIWYG editor is active. The default value is TextEditorMode.Default.
Optional violationWarningButtonsEnabled
Allows for displaying the image quality warnings on the canvas. If true, then notifying icons appear on such violation warnings as low image resolution, safety line violation, region violation, and clipping text. The default value is false.
Optional zoom
A structure containing zoom parameters of the canvas.