Ensures a scroll position is inside the minimum and maximum scroll value currently allowed.
ImageViewer.prototype.restrictScrollOffset = function(
value
)
restrictScrollOffset(
value: LeadPointD
): LeadPointD;
value
Scroll position in pixels.
The trimmed value.
This method will check value against 0,0 and the current value of MaximumScrollSize and make sure the value is inside the current scroll range. ScrollByRestrict uses this method to ensure the scrolling is always in the current range regardless of the value of RestrictScroll.
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