Indicates whether to clip the image outside the content area if ResizeOnTransform was set to false.
Object.defineProperty(ImageViewer.prototype, 'clipImageToContent',
get: function(),
set: function(value)
)
clipImageToContent: boolean;
true to clip the image outside the content area if ResizeOnTransform was set to false, otherwise; false. Default value is true.
ClipImageToContent is used when ResizeOnTransform is set to false to determine whether to clip the image outside the content area. The following shows the difference when setting this property to true or false (the item is rotated 90 degrees with ResizeOnTransform set to false):
Setting this value will automatically update ImageViewerItem.ClipImageToContent of all the items in this viewer to the same value. To change an item value individually, use the item property directly.
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