Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

RestrictScrollOffset Method

Show in webframe
Scroll position in pixels.
Ensures a scroll position is inside the minimum and maximum scroll value currently allowed.
Syntax
 function Leadtools.Controls.ImageViewer.restrictScrollOffset( 
   value 
)

Parameters

ParameterTypeDescription
valueLeadPointDScroll position in pixels.

Return Value

TypeDescription
LeadPointD The trimmed value.
Remarks

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.

See Also

Reference

ImageViewer Object
ImageViewer Members

Error processing SSI file