- 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
- Editor Class
- applyProductTheme Method
- BarcodeFormat Enumeration
- BarcodeSubType Enumeration
- clearSelection Method
- dispose Method
- finishProductDesign Method
- getProduct Method
- getProofImages Method
- getSelectedItems 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
- openGallery Method
- openGalleryForBackground Method
- openGalleryForItem Method
- redo Method
- revertProduct Method
- saveProduct Method
- selectAllItems Method
- selectItems Method
- subscribe Method
- undo Method
- validateUserInfo Method
- ViolationState Enumeration
- ZoomMode Enumeration
- 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
ZoomMode Enumeration
Applies to: Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · Archived documentation
An enumeration of zoom modes to fit images on the canvas.
Enumeration members
bestFit
Zoom modifier is calculated automatically so that entire image could fit the control. If image is smaller than the control client area, the image is stretched to occupy as much area as possible.
bestFitShrinkOnly
Zoom modifier is calculated automatically so that entire image could fit the control. If image is smaller than the control client area, zooming modifier is set to 1 (i.e. no zoom).
fitToHeight
Zoom modifier is calculated automatically so that the image height would be the same as the control client area height. If the image height is smaller than the control client area height, image is stretched.
fitToHeightShrinkOnly
Zoom modifier is calculated automatically so that the image height would be the same as the control client area height. If image height is smaller than the control client area, zooming modifier is set to 1 (i.e. no zoom).
fitToWidth
Zoom modifier is calculated automatically so that the image width would be the same as the control client area width. If the image width is smaller than the control client area width, image is stretched.
fitToWidthShrinkOnly
Zoom modifier is calculated automatically so that the image width would be the same as the control client area width. If image width is smaller than the control client area, zooming modifier is set to 1 (i.e. no zoom).
none
Zoom modifier is specified only manually. In this mode, you can use zooming navigator controls.