restrictScroll Property


Indicates whether scrolling or panning the view outside the maximum range is allowed.


JavaScript Syntax
Object.defineProperty(ImageViewer.prototype, 'restrictScroll', 
	get: function(), 
	set: function(value) 
TypeScript Syntax
restrictScroll: boolean; 

Property Value

true if scrolling and panning the image outside the maximum range is not allowed; otherwise, false. Default value is true.


Refer to ScrollMode for more information and an example on how to use this property.

For more information, refer to Image Viewer Scrolling.


Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly