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 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.