scaleFactor Property (ImageViewerCenterAtInteractiveMode)

Summary

Factor used to zoom the image in the viewer around the center.

Syntax

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

Property Value

The scale factor used to display the magnified image. Must be a value greater than 0. The default value is 1 (no zoom).

Remarks

Use the value of ScaleFactor to performing zooming of the image around the center point when the user taps on the viewer as follows:

  • If the value of ScaleFactor is 1 (the default value), then no zooming is performed.

  • If the value of ScaleFactor is greater than 1, then this value is multiplied by the current viewer scale factor (ImageViewer.ScaleFactor) to zoom the image in around the center point.

  • If the value of ScaleFactor is less than 1, then this value is multiplied by the current viewer scale factor (ImageViewer.ScaleFactor) to zoom the image out around the center point.

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