getScaleFactors Method

Summary

Utility method to calculate the scale factor needed to perform the specified size mode using a source and destination size.

Syntax
TypeScript
JavaScript
getScaleFactors = function( 
   destinationSize, 
   sourceSize, 
   sizeMode 
) 

Parameters

destinationSize

The destination size

sourceSize

The source size

sizeMode

The desired size mode

Return Value

The calculated destination size

Requirements

Target Platforms

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

Leadtools.Controls Assembly

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