←Select platform

GetScaleFactors Method

Summary

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

Syntax
C#
C++
vb[VB Syntax] 
Public Shared Function GetScaleFactors( 
   ByVal _destinationSize_ As LeadSizeD, 
   ByVal _sourceSize_ As LeadSizeD, 
   ByVal _sizeMode_ As ControlSizeMode 
) As 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 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

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