restrictScroll Property

Summary

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

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

Property Value

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

Remarks

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

For more information, refer to Image Viewer Scrolling.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly