Indicates whether the item size should change when then item is transformed.
Object.defineProperty(ImageViewerItem.prototype, 'resizeOnTransform',
get: function(),
set: function(value)
)
resizeOnTransform: boolean;
true if the item size should when the item is transformed, otherwise; false. Default value is true.
When a transformation might cause the item size to be changed, for example, if the image size is 100 by 200 pixels and you rotate it by 90 degrees clock wise then the new image size would be 200 by 100 pixels. If the value of ResizeOnTransform is true, then the item size (Size) will automatically be updated with this new value. If the value is false, then the item size will not update it. The following shows the difference between the two cases:
The ClipImageToContent will determine how to clip the image outside the content area if ResizeOnTransform was set to false.
For more information, refer to Image Viewer Items and Image Viewer Appearance.
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