shouldResize Method

Summary

Returns whether an image with the specified width and height is too large to be processed fast, and thus needs to be resized down.

Syntax
TypeScript
JavaScript
shouldResize = function( 
   width, 
   height 
) 
static shouldResize( 
   width: number, 
   height: number 
): number; 

Parameters

width

The image hypothetical width.

height

The image hypothetical height.

Return Value

Value that represents the recommended resize factor.

Remarks

The value returned by this method can be used with ResizeFactor.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly