zoom Method

Summary

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

Syntax

JavaScript Syntax
Frame.prototype.zoom = function( 
   sizeMode, 
   scaleFactor 
) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly