scaleFactor Property

Summary

Value of the scale factor for the view display.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewer.prototype, 'scaleFactor', 
	get: function() 
) 
TypeScript Syntax
scaleFactor: number; // read-only 

Property Value

The value of the scale factor. Default value is 1.0.

Remarks

This value is calculated by UpdateTransform based on the value passed to the last call to Zoom.

ScaleFactor is the maximum of the actual horizontal and vertical values stored in XScaleFactor and YScaleFactor. If Zoom is called with any ControlSizeMode other than ControlSizeMode.Stretch than the horizontal and vertical scale factors will be the same.

Requirements

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