Optional scale value to use when rendering the images of this item.
Object.defineProperty(ImageViewerItem.prototype, 'imageScale',
get: function(),
set: function(value)
)
imageScale: number;
The optional scale value to use when rendering the images of this item. Default value is 1.
ImageScale is used when an item with an image or a URL to an image is added to the ImageViewer. The ImageSize property is automatically obtained from the image object. If the value of ImageScale is not 1 (the default), then ImageSize will be multiplied by this value. This allows the user to use a smaller image in the item to save system resources but still with ImageScale set to the ratio between the original image size and the smaller version, the viewer will update ImageSize accordingly.
ImageScale property of ImageViewer will update this member if this is the active item when the viewer is used in single item mode.
For more information, refer to Image Viewer Items.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document