zoom Method

Summary

Changes the scale of the frame image based on the specified parameters.

Syntax
TypeScript
JavaScript
Frame.prototype.zoom = function( 
   sizeMode, 
   scaleFactor 
) 
zoom( 
   sizeMode: MedicalViewerSizeMode, 
   scaleFactor: number 
): void; 

Parameters

sizeMode

The size mode.

scaleFactor

The scale value, in a normalized form.

Remarks

The scale is done in a combination of both parameters, 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 22.0.2023.2.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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