Leadtools.Controls Namespace > ImageViewer Object : ScrollByRestrict Method |
function Leadtools.Controls.ImageViewer.scrollByRestrict( point )
Parameter | Type | Description |
---|---|---|
point | LeadPointD | The amount by which to scroll the viewer. |
ScrollByRestrict will restrict scrolling between 0,0 and MaximumScrollSize regardless of the value of RestrictScroll. Internall, the viewer will call RestrictScrollOffset on the result of adding point to current scroll offset before setting that into ScrollOffset.