minimumScaleFactor Property (ImageViewerPanZoomInteractiveMode)

Summary

Minimum scale factor allowed.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewerPanZoomInteractiveMode.prototype, 'minimumScaleFactor', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
minimumScaleFactor: number; 

Property Value

The minimum scale factor allowed. Default value is 0.1 (10 percent).

Remarks

ImageViewer contains ImageViewer.MaximumScaleFactor and ImageViewer.MinimumScaleFactor that defines the maximum and minimum scale factor allowed. This mode uses the maximum value defined in ImageViewer.MaximumScaleFactor, but defines its own minimum value set in using this property. This is done to ensure that the image is always visible and can't zoom out to an unreasonable value using this mode.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize