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

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

Leadtools.Controls.Medical Assembly