scaleFactor Property

Summary

Value of the scale factor for the view display.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewer.prototype, 'scaleFactor', 
	get: function() 
) 
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 22.0.2023.2.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.