getScaleFactors Method

Summary

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

Syntax

JavaScript Syntax
getScaleFactors = function(destinationSize, sourceSize, sizeMode) 
TypeScript Syntax
static getScaleFactors(destinationSize: LeadSizeD, sourceSize: LeadSizeD, sizeMode: ControlSizeMode): LeadSizeD; 

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly