Scrolls the viewer by the specified amount in pixels while always restricting the value to the current minimum and maximum allowed.
ImageViewer.prototype.scrollByRestrict = function(point)
scrollByRestrict(point: LeadPointD): void;
point
The amount by which to scroll the viewer.
ScrollByRestrict will restrict scrolling between 0,0 and MaximumScrollSize regardless of the value of RestrictScroll. Internally, the viewer will call RestrictScrollOffset on the result of adding point to current scroll offset before setting that into ScrollOffset.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET