scale Property

Summary

Gets or sets the image scale value.

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

Property Value

Value that represents the image scale value.

Remarks

The scale value is in a normalized form, so setting the value to 2, means the image will be twice as large.

The scale here is relative to the size mode set in Zoom, so for example, if you set ScaleMode to Fit, and the Scale to 2, then the viewer will first resize the image to fit the sub-cell, then it will scale up the result by 200%.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.